void-packages/srcpkgs/foomatic-db-engine/template
2016-09-01 21:02:57 +02:00

20 lines
809 B
Bash

# Template file for 'foomatic-db-engine'
pkgname=foomatic-db-engine
version=4.0.12
revision=4
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --libdir=/usr/lib PERL_INSTALLDIRS=vendor"
hostmakedepends="wget perl foomatic-db cups-filters ghostscript cups libxml2-devel"
makedepends="libxml2-devel cups-devel"
depends="${hostmakedepends/libxml2-devel/}"
short_desc="OpenPrinting printer support - programs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.openprinting.org/"
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
checksum=66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21
post_configure() {
# Compiling and linking in one step requires $(LDFLAGS)
sed -i Makefile -e's;$(CC) $(CFLAGS);& $(LDFLAGS);'
}