development/jbigkit: Updated for version 2.0

This commit is contained in:
Iskar Enev 2010-05-12 17:38:32 +02:00 committed by David Somero
parent 95915b29b1
commit 660b44c049
2 changed files with 16 additions and 15 deletions

View File

@ -4,7 +4,7 @@
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=jbigkit
VERSION=1.6
VERSION=2.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -43,26 +43,27 @@ cd -
# ... and all the rest
make CCFLAGS="$SLKCFLAGS"
# Test the compiled tools - this is optional
# LD_LIBRARY_PATH=$CWD/libjbig make test
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
# There is no "install" target in the Makefile...
mkdir -p $PKG/usr/{bin,lib,include,man/man1,doc/$PRGNAM-$VERSION}
mkdir -p $PKG/usr/{bin,lib,include,man/man1,man/man5,doc/$PRGNAM-$VERSION}
cp -a pbmtools/{jbgtopbm,pbmtojbg} $PKG/usr/bin
cp -a pbmtools/{jbgtopbm,pbmtojbg,jbgtopbm85,pbmtojbg85} $PKG/usr/bin
cp -a pbmtools/*.1 $PKG/usr/man/man1
cp -a pbmtools/*.5 $PKG/usr/man/man5
gzip -9 $PKG/usr/man/man1/*.1
cp -a libjbig/jbig.h $PKG/usr/include
gzip -9 $PKG/usr/man/man5/*.5
cp -a libjbig/jbig.h libjbig/jbig85.h libjbig/jbig_ar.h $PKG/usr/include
cp -a libjbig/libjbig.* $PKG/usr/lib
cp -a ANNOUNCE CHANGES INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cp -a libjbig/jbig.doc $PKG/usr/doc/$PRGNAM-$VERSION/jbig.txt
cp -a ANNOUNCE CHANGES INSTALL COPYING TODO libjbig/*.txt examples \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="jbigkit"
VERSION="1.6"
VERSION="2.0"
HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-1.6.tar.gz"
MD5SUM="ce196e45f293d40ba76af3dc981ccfd7"
DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz"
MD5SUM="3dd87f605abb1a97a22dc79d8b3e8f6c"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="rworkman"
APPROVED="dsomero"