summaryrefslogtreecommitdiff
path: root/repo/jbig2dec/jbig2dec.xibuild
blob: f3ad3c1f4209a2b6d9dfa619026b8d604b80d33e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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/gs9531/jbig2dec-$PKG_VER.tar.gz"

prepare () {
    autoreconf -vif
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--without-libpng
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}