2009-04-22 01:13:03 +02:00
|
|
|
# Template build file for 'gd'.
|
|
|
|
pkgname=gd
|
|
|
|
version=2.0.35
|
2013-04-30 11:26:04 +02:00
|
|
|
revision=10
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-30 11:26:04 +02:00
|
|
|
makedepends="pkg-config libXpm-devel 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"
|
|
|
|
distfiles="http://jaist.dl.sourceforge.net/project/buluoos/0.1/src/gd-$version.tar.bz2"
|
2009-04-22 01:13:03 +02:00
|
|
|
checksum=bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gd-devel_package() {
|
|
|
|
depends="libXpm-devel libjpeg-turbo-devel fontconfig-devel zlib-devel
|
2013-04-30 11:26:04 +02:00
|
|
|
libpng-devel>=1.6 gd>=${version}"
|
2013-04-12 13:13:49 +02: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 11:26:04 +02:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|