summaryrefslogtreecommitdiff
path: root/user/gutenprint/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/gutenprint/APKBUILD')
-rw-r--r--user/gutenprint/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/gutenprint/APKBUILD b/user/gutenprint/APKBUILD
new file mode 100644
index 000000000..ae768304b
--- /dev/null
+++ b/user/gutenprint/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gutenprint
+pkgver=5.2.14
+pkgrel=0
+pkgdesc="Open source printer drivers"
+url="http://gimp-print.sourceforge.net/"
+arch="all"
+options="!check" # Times out even on 64-thread POWER9.
+license="GPL-2.0-only"
+depends=""
+makedepends="cups-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
+install="$pkgname.post-install $pkgname.post-upgrade"
+source="https://downloads.sourceforge.net/gimp-print/gutenprint-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd gutenprint-5.2.14.tar.bz2"