aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-10 14:14:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-10 14:14:34 +0000
commit6dad6ac568c711f23c3fd397b5347001710962cb (patch)
tree75a7aa88f356274caf3beb57cff9924d0fc0533b
parent93a7e5ab5dc21af75993a445fe4608a8138955b5 (diff)
downloadaports-6dad6ac568c711f23c3fd397b5347001710962cb.tar.bz2
aports-6dad6ac568c711f23c3fd397b5347001710962cb.tar.xz
testing/foomatic-filters: new aport
CUPS print filters for the foomatic package http://www.linuxprinting.org
-rw-r--r--testing/foomatic-filters/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/foomatic-filters/APKBUILD b/testing/foomatic-filters/APKBUILD
new file mode 100644
index 0000000000..ca1dca7832
--- /dev/null
+++ b/testing/foomatic-filters/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=foomatic-filters
+pkgver=4.0.9
+pkgrel=0
+pkgdesc="CUPS print filters for the foomatic package"
+url="http://www.linuxprinting.org"
+arch="all"
+license="GPLv2+"
+depends=""
+makedepends="dbus-dev cups-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.openprinting.org/download/foomatic/foomatic-filters-$pkgver.tar.gz"
+
+_builddir="$srcdir"/foomatic-filters-$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 \
+ --disable-dependency-tracking \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="ab13aad4d96dbfca2d13653433ab8270 foomatic-filters-4.0.9.tar.gz"