From b74f8e91b88d5fd95d8dffbd63a73a5ac488a7fe Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 10 Aug 2011 15:01:23 +0000 Subject: testing/foomatic-db-engine: new aport Tools for using the foomatic database of printers and printer drivers http://www.linuxprinting.org --- testing/foomatic-db-engine/APKBUILD | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/foomatic-db-engine/APKBUILD (limited to 'testing/foomatic-db-engine/APKBUILD') diff --git a/testing/foomatic-db-engine/APKBUILD b/testing/foomatic-db-engine/APKBUILD new file mode 100644 index 000000000..1450b9163 --- /dev/null +++ b/testing/foomatic-db-engine/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=foomatic-db-engine +pkgver=4.0.8 +pkgrel=0 +pkgdesc="Tools for using the foomatic database of printers and printer drivers" +url="http://www.linuxprinting.org" +arch="all" +license="GPLv2+" +depends="foomatic-filters" +depends_dev="" +makedepends="perl-dev libxml2-dev cups-dev ghostscript-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.openprinting.org/download/foomatic/foomatic-db-engine-$pkgver.tar.gz" + +_builddir="$srcdir"/foomatic-db-engine-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="5283cd5125a96dc0b35d896326512b1a foomatic-db-engine-4.0.8.tar.gz" -- cgit v1.2.3