2009-04-22 01:13:03 +02:00
|
|
|
# Template build file for 'gd'.
|
|
|
|
pkgname=gd
|
2015-01-15 19:26:31 +01:00
|
|
|
version=2.1.1
|
|
|
|
revision=1
|
2013-07-11 08:34:14 +02:00
|
|
|
wrksrc="libgd-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-11 08:34:14 +02:00
|
|
|
configure_args="--without-xpm"
|
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel fontconfig-devel"
|
2009-04-22 01:13:03 +02:00
|
|
|
short_desc="Graphics library for the dynamic creation of images"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-06 09:55:32 +02:00
|
|
|
homepage="http://www.libgd.org/"
|
|
|
|
license="BSD"
|
2013-07-11 08:34:14 +02:00
|
|
|
distfiles="https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${version}.tar.xz"
|
2015-01-15 19:26:31 +01:00
|
|
|
checksum=9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gd-devel_package() {
|
2013-07-11 08:34:14 +02:00
|
|
|
depends="libjpeg-turbo-devel fontconfig-devel zlib-devel libpng-devel>=1.6 gd-${version}_${revision}"
|
2013-04-12 13:13:49 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-11 08:34:14 +02:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 13:13:49 +02:00
|
|
|
vmove usr/bin/gdlib-config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gd-progs_package() {
|
|
|
|
depends="perl"
|
2013-07-11 08:34:14 +02:00
|
|
|
short_desc+=" - utilities"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|