Files
haikuports/media-libs/gd/gd-2.1.recipe

50 lines
829 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/lbgd-2.1.0.tar.xz"
CHECKSUM_MD5="39ac48e6d5e0012a3bd2248a0102f209"
REVISION="1"
COPYRIGHT="1999-2013 "
LICENSE="LIBGD"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
gd = $portVersion
cmd:gd
"
REQUIRES="
haiku >= $haikuVersion
lib:libpng
lib:libjpeg
lib:libgif
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
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
}