diff --git a/x11-libs/pixman/pixman-0.32.6.recipe b/x11-libs/pixman/pixman-0.32.6.recipe new file mode 100644 index 000000000..e60adb9ca --- /dev/null +++ b/x11-libs/pixman/pixman-0.32.6.recipe @@ -0,0 +1,84 @@ +SUMMARY="pixman" +DESCRIPTION=" +Pixman - The pixel-manipulation library for X and cairo. +" +HOMEPAGE="http://cgit.freedesktop.org/pixman/" +SRC_URI="http://cairographics.org/releases/pixman-$portVersion.tar.gz" +CHECKSUM_SHA256="3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904" +LICENSE="MIT" +COPYRIGHT="1987-1998 The Open Group + 1987-1989 Digital Equipment Corporation + 1999, 2004, 2008 Keith Packard + 2004-2010 Red Hat, Inc. + 2009-2010 Sun Microsystems, Inc. + and many others" + +REVISION="1" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + pixman$secondaryArchSuffix = $portVersion + lib:libpixman_1$secondaryArchSuffix = $portVersion compat >= 0 + " + +PROVIDES_devel=" + pixman${secondaryArchSuffix}_devel = $portVersion + devel:libpixman_1$secondaryArchSuffix = $portVersion compat >= 0 + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +REQUIRES_devel=" + pixman$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:aclocal + cmd:autoconf + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + cmd:perl + cmd:pkg_config$secondaryArchSuffix + " + +PATCH() +{ + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac +} + +BUILD() +{ + aclocal + libtoolize --force --copy --install + automake --add-missing + autoconf + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libpixman-1 + + fixPkgconfig + + packageEntries devel \ + $developDir +} + +TEST() +{ + make check +}