2009-04-21 23:13:03 +00:00
|
|
|
# Template build file for 'gd'.
|
|
|
|
pkgname=gd
|
|
|
|
version=2.0.35
|
2013-01-08 09:10:40 +00:00
|
|
|
revision=9
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-08 09:10:40 +00:00
|
|
|
makedepends="pkg-config libXpm-devel libjpeg-turbo-devel fontconfig-devel
|
|
|
|
libpng-devel>=1.5.10"
|
2009-04-21 23:13:03 +00:00
|
|
|
short_desc="Graphics library for the dynamic creation of images"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 07:55:32 +00:00
|
|
|
homepage="http://www.libgd.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://jaist.dl.sourceforge.net/project/buluoos/0.1/src/gd-$version.tar.bz2"
|
2009-04-21 23:13:03 +00:00
|
|
|
checksum=bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
gd-devel_package() {
|
|
|
|
depends="libXpm-devel libjpeg-turbo-devel fontconfig-devel zlib-devel
|
|
|
|
libpng-devel gd>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/bin/gdlib-config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gd-progs_package() {
|
|
|
|
depends="perl"
|
|
|
|
short_desc="Utility programs that use libgd"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gd_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|