38 lines
966 B
Bash
38 lines
966 B
Bash
# Template build file for 'gd'.
|
|
pkgname=gd
|
|
version=2.2.1
|
|
revision=1
|
|
wrksrc="libgd-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--without-xpm"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libjpeg-turbo-devel libpng-devel fontconfig-devel"
|
|
short_desc="Graphics library for the dynamic creation of images"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.libgd.org/"
|
|
license="BSD"
|
|
distfiles="https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.xz"
|
|
checksum=708762ae483e5fe46b58659f622c3e8f820c7ce0b3ae4e10ad0fbf17d4c4b976
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
gd-devel_package() {
|
|
depends="${makedepends} gd-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/bin/gdlib-config
|
|
}
|
|
}
|
|
gd-progs_package() {
|
|
depends="perl"
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|