void-packages/srcpkgs/gd/template
Jürgen Buchmüller 2aa6e8b5ed gd: update to 2.3.0
2020-03-23 13:45:35 +01:00

37 lines
962 B
Bash

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