libraries/afflib: Updated for version 3.5.7

This commit is contained in:
Barry J. Grundy 2010-05-13 00:28:46 +02:00 committed by Erik Hanson
parent 5f71cbc3bd
commit 3b3ddf8b68
3 changed files with 21 additions and 10 deletions

View file

@ -2,4 +2,4 @@ afflib is library for support of the Advanced Forensic Format (AFF).
AFF(R) is an open and extensible file format designed to store disk
images and associated metadata.
afflib can use libewf, also available from SlackBuilds.org.
afflib can use libewf if it's installed.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=afflib
VERSION=3.3.4
VERSION=3.5.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -56,20 +59,26 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
--enable-s3 \
--enable-python \
--enable-threading \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGLIST.txt ChangeLog COPYING INSTALL NEWS README* \
cp -ra AUTHORS BUGLIST.txt ChangeLog COPYING INSTALL NEWS README* doc/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@ -77,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="afflib"
VERSION="3.3.4"
VERSION="3.5.7"
HOMEPAGE="http://www.afflib.org/"
DOWNLOAD="http://www.afflib.org/downloads/afflib-3.3.4.tar.gz"
MD5SUM="588dd75051d03f666a17ed49d08c1552"
DOWNLOAD="http://www.afflib.org/downloads/afflib-3.5.7.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="efd1dacf1acf1ba450104635be93316c"
MD5SUM_x86_64=""
MAINTAINER="Barry J. Grundy"
EMAIL="bgrundy<at>linuxleo.com"
APPROVED="Michiel"
APPROVED="Erik Hanson"