1SUMMARY="A css2 parsing and manipulation library" 2DESCRIPTION=" 3The parser provides a low level event driven SAC like api \ 4and a css object model like api. 5Libcroco provides a CSS2 selection engine and an experimental 6xml/css rendering engine. 7" 8HOMEPAGE="https://git.gnome.org/browse/libcroco/" 9COPYRIGHT="2003-2004 Dodji Seketeli" 10LICENSE="GNU LGPL v2.1" 11REVISION="2" 12SOURCE_URI="https://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-$portVersion.tar.xz" 13CHECKSUM_SHA256="767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4" 14 15ARCHITECTURES="all" 16SECONDARY_ARCHITECTURES="x86_gcc2 x86" 17 18PROVIDES=" 19 libcroco$secondaryArchSuffix = $portVersion compat >= 0 20 lib:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3 21 " 22REQUIRES=" 23 haiku$secondaryArchSuffix 24 lib:libglib_2.0$secondaryArchSuffix 25 lib:libiconv$secondaryArchSuffix # required by glib 26 lib:libintl$secondaryArchSuffix 27 lib:libxml2$secondaryArchSuffix 28 lib:libz$secondaryArchSuffix 29 " 30 31PROVIDES_devel=" 32 libcroco${secondaryArchSuffix}_devel = $portVersion 33 cmd:croco_0.6_config${secondaryArchSuffix} 34 cmd:csslint_0.6$secondaryArchSuffix 35 devel:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3 36 " 37REQUIRES_devel=" 38 haiku$secondaryArchSuffix 39 libcroco$secondaryArchSuffix == $portVersion base 40 lib:libglib_2.0$secondaryArchSuffix 41 lib:libintl$secondaryArchSuffix 42 lib:libxml2$secondaryArchSuffix 43 " 44 45BUILD_REQUIRES=" 46 devel:libglib_2.0$secondaryArchSuffix 47 devel:libxml2$secondaryArchSuffix 48 " 49BUILD_PREREQUIRES=" 50 haiku${secondaryArchSuffix}_devel 51 cmd:aclocal 52 cmd:autoconf 53 cmd:automake 54 cmd:gcc$secondaryArchSuffix 55 cmd:gtkdocize 56 cmd:ld$secondaryArchSuffix 57 cmd:libtoolize$secondaryArchSuffix 58 cmd:make 59 cmd:pkg_config$secondaryArchSuffix 60 " 61 62BUILD() 63{ 64 cp /boot/system/data/gtk-doc/data/gtk-doc.make ./ 65 autoreconf -fi 66 runConfigure ./configure --disable-gtk-doc \ 67 --disable-Bsymbolic \ 68 --disable-static 69 make $jobArgs 70} 71 72INSTALL() 73{ 74 make install 75 76 # remove libtool file 77 rm $libDir/*.la 78 79 # prepare develop/lib 80 prepareInstalledDevelLibs libcroco-0.6 81 fixPkgconfig 82 83 # devel package 84 packageEntries devel \ 85 $developDir \ 86 $binDir 87 88} 89 90TEST() 91{ 92 make tests 93} 94