void-packages/srcpkgs/gd/template
2013-04-30 11:26:04 +02:00

37 lines
934 B
Text

# Template build file for 'gd'.
pkgname=gd
version=2.0.35
revision=10
build_style=gnu-configure
makedepends="pkg-config libXpm-devel libjpeg-turbo-devel libpng-devel>=1.6 fontconfig-devel"
short_desc="Graphics library for the dynamic creation of images"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libgd.org/"
license="BSD"
distfiles="http://jaist.dl.sourceforge.net/project/buluoos/0.1/src/gd-$version.tar.bz2"
checksum=bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9
gd-devel_package() {
depends="libXpm-devel libjpeg-turbo-devel fontconfig-devel zlib-devel
libpng-devel>=1.6 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 all
}
}