2009-04-21 23:13:03 +00:00
|
|
|
# Template build file for 'gd'.
|
|
|
|
pkgname=gd
|
|
|
|
version=2.0.35
|
2013-04-30 09:26:04 +00:00
|
|
|
revision=10
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-30 09:26:04 +00:00
|
|
|
makedepends="pkg-config libXpm-devel libjpeg-turbo-devel libpng-devel>=1.6 fontconfig-devel"
|
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
|
2013-04-30 09:26:04 +00:00
|
|
|
libpng-devel>=1.6 gd>=${version}"
|
2013-04-12 11:13:49 +00:00
|
|
|
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() {
|
2013-04-30 09:26:04 +00:00
|
|
|
vmove all
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|