mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
92 lines
2.1 KiB
Bash
92 lines
2.1 KiB
Bash
SUMMARY="A css2 parsing and manipulation library"
|
|
DESCRIPTION="
|
|
The parser provides a low level event driven SAC like api \
|
|
and a css object model like api.
|
|
Libcroco provides a CSS2 selection engine and an experimental
|
|
xml/css rendering engine.
|
|
"
|
|
HOMEPAGE="https://git.gnome.org/browse/libcroco/"
|
|
COPYRIGHT="2003-2004 Dodji Seketeli"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libcroco$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix # required by glib
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libcroco${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:croco_0.6_config${secondaryArchSuffix}
|
|
cmd:csslint_0.6$secondaryArchSuffix
|
|
devel:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
libcroco$secondaryArchSuffix == $portVersion base
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gtkdocize
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cp /boot/system/data/gtk-doc/data/gtk-doc.make ./
|
|
autoreconf -fi
|
|
runConfigure ./configure --disable-gtk-doc --disable-Bsymbolic
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm $libDir/*.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libcroco-0.6
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$binDir
|
|
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make tests
|
|
}
|