summaryrefslogtreecommitdiff
path: root/repo/jbig2dec/jbig2dec.xibuild
blob: 3d5e6456114a4245b5a282eaf8db7414884195aa (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
#!/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
}