aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-20 16:30:33 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-20 16:30:33 +0000
commitcf83316cedb3c730799cf2ec52ae38822838f34b (patch)
treee71c3a03b5c67a4352d66c3aec189f9292e23d20 /testing
parentfc45d05792abda43a52d6f397dc722bdce5c3720 (diff)
downloadaports-cf83316cedb3c730799cf2ec52ae38822838f34b.tar.gz
aports-cf83316cedb3c730799cf2ec52ae38822838f34b.tar.bz2
aports-cf83316cedb3c730799cf2ec52ae38822838f34b.tar.xz
testing/jbig2enc: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/jbig2enc/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/jbig2enc/APKBUILD b/testing/jbig2enc/APKBUILD
new file mode 100644
index 0000000000..bd93f692e5
--- /dev/null
+++ b/testing/jbig2enc/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer:
+pkgname=jbig2enc
+pkgver=0.29
+pkgrel=0
+pkgdesc="JBIG2 Encoder"
+url="https://github.com/agl/jbig2enc"
+arch="all"
+license="Apache-2.0"
+depends=""
+makedepends="
+ leptonica-dev
+ zlib-dev
+
+ automake
+ autoconf
+ libtool
+ "
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="jbig2enc-$pkgver.tar.gz::https://github.com/agl/jbig2enc/archive/$pkgver.tar.gz"
+builddir="$srcdir/jbig2enc-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./autogen.sh
+ ./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="aa50cdaf61ef0ae473c8139d8da2a4c374450f8d0d31e2260031e8086dab9201c303c86d50cd51427135bef500718cbc3a53baabf2bf505f8908c22a3d361c51 jbig2enc-0.29.tar.gz"