void-packages/srcpkgs/gutenprint/template

34 lines
1.0 KiB
Bash
Raw Normal View History

2017-09-11 18:46:00 +02:00
# Template file for 'gutenprint'
pkgname=gutenprint
2017-10-20 02:12:25 +02:00
version=5.2.13
revision=2
2017-09-11 18:46:00 +02:00
build_style=gnu-configure
hostmakedepends="ghostscript perl"
2017-09-11 18:46:00 +02:00
makedepends="cups-devel"
short_desc="Top quality printer drivers for POSIX systems"
maintainer="Anachron <Anachron14@gmx.de>"
license="GPL-2"
homepage="http://gimp-print.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/gimp-print/$pkgname-$version.tar.bz2"
2017-10-20 02:12:25 +02:00
checksum=d9a9745d83668096e89e762e380b40629ea2dcb44a1b7027b9068c543cd02742
2017-09-11 18:46:00 +02:00
configure_args="--disable-rpath \
--enable-samples --disable-static --disable-static-genppd --enable-cups-ppds \
--enable-simplified-cups-ppds=only --enable-translated-cups-ppds \
--enable-globalized-cups-ppds"
nocross="https://sourceforge.net/p/gimp-print/mailman/message/34782748/"
post_install() {
mv "${DESTDIR}"/usr/sbin/* "${DESTDIR}"/usr/bin/
rmdir ${DESTDIR}/usr/sbin/
}
gutenprint-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/lib/*.so
}
}