summaryrefslogtreecommitdiff
path: root/repo/jbig2dec/jbig2dec.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/jbig2dec/jbig2dec.xibuild')
-rw-r--r--repo/jbig2dec/jbig2dec.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/jbig2dec/jbig2dec.xibuild b/repo/jbig2dec/jbig2dec.xibuild
new file mode 100644
index 0000000..3d5e645
--- /dev/null
+++ b/repo/jbig2dec/jbig2dec.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="jbig2dec"
+DESC="JBIG2 image compression format decoder"
+
+MAKEDEPS="autoconf automake libtool"
+
+PKG_VER=0.19
+SOURCE="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/$_gsver/jbig2dec-$PKG_VER.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --without-libpng
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+