summaryrefslogtreecommitdiffstats
path: root/testing/foomatic-db-engine
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-10 15:01:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-10 15:01:23 +0000
commitb74f8e91b88d5fd95d8dffbd63a73a5ac488a7fe (patch)
treead794e7890949b883423ec21ae751d507dc6242e /testing/foomatic-db-engine
parentf5a9d2901da64966752fbdd16c436adf42eca814 (diff)
downloadaports-b74f8e91b88d5fd95d8dffbd63a73a5ac488a7fe.tar.bz2
aports-b74f8e91b88d5fd95d8dffbd63a73a5ac488a7fe.tar.xz
testing/foomatic-db-engine: new aport
Tools for using the foomatic database of printers and printer drivers http://www.linuxprinting.org
Diffstat (limited to 'testing/foomatic-db-engine')
-rw-r--r--testing/foomatic-db-engine/APKBUILD42
1 files changed, 42 insertions, 0 deletions
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 <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+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"