diff options
Diffstat (limited to 'unmaintained/foomatic-db-engine/APKBUILD')
-rw-r--r-- | unmaintained/foomatic-db-engine/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/foomatic-db-engine/APKBUILD b/unmaintained/foomatic-db-engine/APKBUILD new file mode 100644 index 0000000000..8c3ed2906e --- /dev/null +++ b/unmaintained/foomatic-db-engine/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=foomatic-db-engine +pkgver=4.0.12 +pkgrel=0 +pkgdesc="Tools for using the foomatic database of printers and printer drivers" +url="http://www.linuxprinting.org" +arch="all" +license="GPL2+" +depends="cups-filters perl" +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" + # avoid #!/bin/bash in foomatic-getpjloptions + SH=/bin/sh ./configure --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="b8049e61a3dad76044e83dde0087e0a0 foomatic-db-engine-4.0.12.tar.gz" +sha256sums="66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21 foomatic-db-engine-4.0.12.tar.gz" +sha512sums="b7e99ace6a632e9b0213183bd2c6c2d11ca072ea0414e8ca569082b7ec183dd81c80594ad63fdee82d761ae36d4fce9d3c881569a95a6085ec326ef7fd21154f foomatic-db-engine-4.0.12.tar.gz" |