aboutsummaryrefslogtreecommitdiffstats
path: root/testing/splix/APKBUILD
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2019-02-16 14:46:29 +0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-24 04:44:11 -0300
commitffb2b6c32b3108a463a1efd79749c018a5cda83d (patch)
tree480d17e2f4facf8b24c684149cae1806d57e10fc /testing/splix/APKBUILD
parent65c0ce105c264731489a78662298b0a0e26fc29f (diff)
downloadaports-ffb2b6c32b3108a463a1efd79749c018a5cda83d.tar.bz2
aports-ffb2b6c32b3108a463a1efd79749c018a5cda83d.tar.xz
testing/splix: new aport
http://splix.ap2c.org/ CUPS drivers for SPL (Samsung Printer Language) printers.
Diffstat (limited to 'testing/splix/APKBUILD')
-rw-r--r--testing/splix/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/testing/splix/APKBUILD b/testing/splix/APKBUILD
new file mode 100644
index 0000000000..1497ed818f
--- /dev/null
+++ b/testing/splix/APKBUILD
@@ -0,0 +1,54 @@
+# Contributor: Taner Tas <taner76@gmail.com>
+# Maintainer: Taner Tas <taner76@gmail.com>
+pkgname=splix
+_pkgver=2.0.0
+reporev=315
+pkgver=${_pkgver}_svn$reporev
+pkgrel=0
+pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers."
+url="http://splix.ap2c.org/"
+arch="all"
+license="GPL-2.0-only"
+makedepends="
+ cups-dev
+ jbigkit-dev
+ subversion
+ rsync
+ "
+install="$pkgname.post-install"
+source="
+ https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
+ splix-deviceID.patch
+ "
+svnurl="svn://svn.code.sf.net/p/splix/code/splix"
+disturl="dev.alpinelinux.org:/archive/$pkgname/"
+builddir="$srcdir/$pkgname"
+options="!check" # No test suite
+
+snapshot() {
+ clean
+ deps
+ mkdir -p "$srcdir"
+ cd "$srcdir"
+ svn co -r $reporev "$svnurl" $pkgname
+ rm -rf $pkgname/.svn
+ tar czvf $SRCDEST/$pkgname-$pkgver.tar.gz $pkgname
+ rsync --progress -La $SRCDEST/$pkgname-$pkgver.tar.gz $disturl
+}
+
+build() {
+ export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
+ make drv
+ make all DRV_ONLY=1
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install DRV_ONLY=1
+}
+
+sha512sums="34e9cd193e30b30d3d4bff2a2b2d78b022f41a0642e4a71db9150d9222284f731b64ea9903911e271b65ef18dc501848e945852774aa790ce8331dede8bcb088 splix-2.0.0_svn315.tar.gz
+6d869435a7e3faf9cb7f18b008b9ec1a3884efc6e2bb11a6c51bc54b08b283b04de9cc41c96e1c7c693e1fb6cbd79c1eb16de8ea896458034c72224dd3758fd4 splix-deviceID.patch"