2009-04-22 01:13:03 +02:00
|
|
|
# Template build file for 'gd'.
|
|
|
|
pkgname=gd
|
2013-07-11 08:34:14 +02:00
|
|
|
version=2.1.0
|
|
|
|
revision=1
|
|
|
|
wrksrc="libgd-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-11 08:34:14 +02:00
|
|
|
configure_args="--without-xpm"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 fontconfig-devel"
|
2009-04-22 01:13:03 +02:00
|
|
|
short_desc="Graphics library for the dynamic creation of images"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 09:55:32 +02:00
|
|
|
homepage="http://www.libgd.org/"
|
|
|
|
license="BSD"
|
2013-07-11 08:34:14 +02:00
|
|
|
distfiles="https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${version}.tar.xz"
|
|
|
|
checksum=fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gd-devel_package() {
|
2013-07-11 08:34:14 +02:00
|
|
|
depends="libjpeg-turbo-devel fontconfig-devel zlib-devel libpng-devel>=1.6 gd-${version}_${revision}"
|
2013-04-12 13:13:49 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-11 08:34:14 +02:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 13:13:49 +02:00
|
|
|
vmove usr/bin/gdlib-config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gd-progs_package() {
|
|
|
|
depends="perl"
|
2013-07-11 08:34:14 +02:00
|
|
|
short_desc+=" - utilities"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gd_package() {
|
|
|
|
pkg_install() {
|
2013-04-30 11:26:04 +02:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|