summaryrefslogtreecommitdiff
path: root/user/gutenprint/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-04 07:51:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-04 07:51:33 +0000
commitc6c6a6b9bfbe5cf413d9adef46b7350a9bdc0b07 (patch)
tree59faf645812987ed363fb896abb2929ed52e45d0 /user/gutenprint/APKBUILD
parent42a6926fb1fcf91eefc23b105c189d762fe61ff5 (diff)
downloadpackages-c6c6a6b9bfbe5cf413d9adef46b7350a9bdc0b07.tar.gz
packages-c6c6a6b9bfbe5cf413d9adef46b7350a9bdc0b07.tar.bz2
packages-c6c6a6b9bfbe5cf413d9adef46b7350a9bdc0b07.tar.xz
packages-c6c6a6b9bfbe5cf413d9adef46b7350a9bdc0b07.zip
user/gutenprint: new package
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"