Files
haikuports/media-libs/gd/gd-2.1.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

50 lines
831 B
Plaintext

SUMMARY="GD is an open source library for the dynamic creation of images by programmers."
DESCRIPTION="GD is an open source library for the dynamic creation of images by programmers."
HOMEPAGE="http://www.libgd.org"
SRC_URI="https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.xz"
CHECKSUM_SHA256="fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a"
REVISION="1"
COPYRIGHT="1999-2013 "
LICENSE="LIBGD"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
gd = $portVersion
cmd:gd
"
REQUIRES="
haiku
lib:libpng
lib:libjpeg
lib:libgif
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:cmake
cmd:make
"
BUILD()
{
echo libdir=$libDir
libtoolize --force --copy --install
aclocal -I config
autoconf
automake
runConfigure ./configure
make
}
INSTALL()
{
make install
}