void-packages/srcpkgs/libpgf/template

38 lines
926 B
Plaintext
Raw Normal View History

2014-12-10 19:14:51 +01:00
# Template file for 'libpgf'
# vim: set ts=4 sw=4 sts=4 et:
pkgname=libpgf
version=6.14.12
revision=1
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://www.libpgf.org"
license="LGPL-2.1"
short_desc="library for working with PGF (Progresive Graphics File) images"
build_style=gnu-configure
hostmakedepends="automake autoconf libtool"
makedepends=""
depends=""
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}-latest/${pkgname}-src-${version}.tar.gz"
checksum="bda5995d80762966a25fca3f6a9821f4458657aa87d8631c014c166ae09258eb"
wrksrc="${pkgname}"
pre_configure() {
sed -i 's/\r//g' configure.ac
./autogen.sh
}
libpgf-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}