From 6dad6ac568c711f23c3fd397b5347001710962cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 10 Aug 2011 14:14:34 +0000 Subject: testing/foomatic-filters: new aport CUPS print filters for the foomatic package http://www.linuxprinting.org --- testing/foomatic-filters/APKBUILD | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/foomatic-filters/APKBUILD (limited to 'testing') 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 +# Maintainer: Natanael Copa +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" -- cgit v1.2.3