void-packages/srcpkgs/gd/template

39 lines
932 B
Plaintext

# Template build file for 'gd'.
pkgname=gd
version=2.0.35
revision=9
build_style=gnu-configure
makedepends="pkg-config libXpm-devel libjpeg-turbo-devel fontconfig-devel
libpng-devel>=1.5.10"
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 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
}
}