blob: 187979286b6247266fb690bbde19a2ad47af5a2c (
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
30
31
32
33
34
35
36
37
|
# Description: An implementation of the JBIG1 compression standard
# URL: https://www.cl.cam.ac.uk/~mgk25/jbigkit/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Cory Burgett, cmburget at gmail dot com
# Depends on:
name=jbigkit
version=2.1
release=3
source=(https://www.cl.cam.ac.uk/~mgk25/$name/download/$name-$version.tar.gz)
build() {
cd $name-$version
export CFLAGS="$CFLAGS -fPIC"
make -e
install -m 755 -d $PKG/usr/lib
install -m 755 -d $PKG/usr/include
install -m 755 -d $PKG/usr/bin
install -m 755 -d $PKG/usr/share/man/man1
install -m 755 -d $PKG/usr/share/man/man5
install -m 644 libjbig/*.a $PKG/usr/lib
install -m 644 libjbig/*.h $PKG/usr/include
install -m 755 pbmtools/jbgtopbm $PKG/usr/bin
install -m 755 pbmtools/jbgtopbm85 $PKG/usr/bin
install -m 755 pbmtools/pbmtojbg $PKG/usr/bin
install -m 755 pbmtools/pbmtojbg85 $PKG/usr/bin
install -m 644 pbmtools/jbgtopbm.1 $PKG/usr/share/man/man1
install -m 644 pbmtools/pbmtojbg.1 $PKG/usr/share/man/man1
install -m 644 pbmtools/pgm.5 $PKG/usr/share/man/man5
install -m 644 pbmtools/pbm.5 $PKG/usr/share/man/man5
}
|