void-packages/srcpkgs/gd/template

36 lines
966 B
Text
Raw Normal View History

# Template build file for 'gd'.
pkgname=gd
2013-07-11 06:34:14 +00:00
version=2.1.0
2014-04-04 22:55:48 +00:00
revision=2
2013-07-11 06:34:14 +00:00
wrksrc="libgd-${version}"
build_style=gnu-configure
2013-07-11 06:34:14 +00:00
configure_args="--without-xpm"
hostmakedepends="pkg-config"
makedepends="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>"
2012-06-06 07:55:32 +00:00
homepage="http://www.libgd.org/"
license="BSD"
2013-07-11 06:34:14 +00:00
distfiles="https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${version}.tar.xz"
checksum=fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a
gd-devel_package() {
2013-07-11 06:34:14 +00:00
depends="libjpeg-turbo-devel fontconfig-devel zlib-devel libpng-devel>=1.6 gd-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-07-11 06:34:14 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/bin/gdlib-config
}
}
gd-progs_package() {
depends="perl"
2013-07-11 06:34:14 +00:00
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
}