mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Convert pixman 0.20.0 recipe to actual recipe.
This commit is contained in:
@@ -1,32 +1,8 @@
|
||||
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-0.20.0.tar.gz"
|
||||
CHECKSUM_MD5="c1a31d5cedfa97c5af7148a2d1fd4356"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd pixman-0.20.0
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pixman-0.20.0
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd pixman-0.20.0
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1987-1998 The Open Group
|
||||
1987-1989 Digital Equipment Corporation
|
||||
@@ -34,3 +10,73 @@ COPYRIGHT="1987-1998 The Open Group
|
||||
2004-2010 Red Hat, Inc.
|
||||
2009-2010 Sun Microsystems, Inc.
|
||||
and many others"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
pixman$secondaryArchSuffix = $portVersion
|
||||
lib:libpixman_1$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
pixman${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libpixman_1$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user