libraries/afflib: Updated for version 3.5.7
This commit is contained in:
parent
5f71cbc3bd
commit
3b3ddf8b68
|
@ -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
|
AFF(R) is an open and extensible file format designed to store disk
|
||||||
images and associated metadata.
|
images and associated metadata.
|
||||||
|
|
||||||
afflib can use libewf, also available from SlackBuilds.org.
|
afflib can use libewf if it's installed.
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=afflib
|
PRGNAM=afflib
|
||||||
VERSION=3.3.4
|
VERSION=3.5.7
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -56,20 +59,26 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-s3 \
|
--enable-s3 \
|
||||||
--enable-python \
|
--enable-python \
|
||||||
--enable-threading \
|
--enable-threading \
|
||||||
--build=$ARCH-slackware-linux \
|
--build=$ARCH-slackware-linux
|
||||||
--host=$ARCH-slackware-linux
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-strip DESTDIR=$PKG
|
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
|
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
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
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
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="afflib"
|
PRGNAM="afflib"
|
||||||
VERSION="3.3.4"
|
VERSION="3.5.7"
|
||||||
HOMEPAGE="http://www.afflib.org/"
|
HOMEPAGE="http://www.afflib.org/"
|
||||||
DOWNLOAD="http://www.afflib.org/downloads/afflib-3.3.4.tar.gz"
|
DOWNLOAD="http://www.afflib.org/downloads/afflib-3.5.7.tar.gz"
|
||||||
MD5SUM="588dd75051d03f666a17ed49d08c1552"
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM="efd1dacf1acf1ba450104635be93316c"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Barry J. Grundy"
|
MAINTAINER="Barry J. Grundy"
|
||||||
EMAIL="bgrundy<at>linuxleo.com"
|
EMAIL="bgrundy<at>linuxleo.com"
|
||||||
APPROVED="Michiel"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in New Issue