diff options
author | Erich Eckner <git@eckner.net> | 2020-07-15 22:12:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-07-15 22:12:30 +0200 |
commit | 021d56d9d7236dcef8ab40cdd03ad952683d3d12 (patch) | |
tree | bb996f269de72c20f71add83b58bd3ab7d3b3658 /manualPorts/jbigkit/Pkgfile | |
parent | cd67e2eded7548db3c45a53f4446fda132e7d30e (diff) | |
download | crux-ports-021d56d9d7236dcef8ab40cdd03ad952683d3d12.tar.xz |
jbigkit & netpbm neu
Diffstat (limited to 'manualPorts/jbigkit/Pkgfile')
-rw-r--r-- | manualPorts/jbigkit/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/manualPorts/jbigkit/Pkgfile b/manualPorts/jbigkit/Pkgfile new file mode 100644 index 0000000..1879792 --- /dev/null +++ b/manualPorts/jbigkit/Pkgfile @@ -0,0 +1,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 +} |