diff options
author | Barry J. Grundy <bgrundyatlinuxleo.com> | 2010-05-13 00:28:46 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:28:46 +0200 |
commit | 3b3ddf8b680f5d0aa889682beb5b6adaf0e531d1 (patch) | |
tree | d5c280d42a0316003173dfcbb21b230652a35c30 /libraries/afflib | |
parent | 5f71cbc3bd93cca3da302f2a88b8e3309b573581 (diff) | |
download | slackbuilds-3b3ddf8b680f5d0aa889682beb5b6adaf0e531d1.tar.gz |
libraries/afflib: Updated for version 3.5.7
Diffstat (limited to 'libraries/afflib')
-rw-r--r-- | libraries/afflib/README | 2 | ||||
-rw-r--r-- | libraries/afflib/afflib.SlackBuild | 19 | ||||
-rw-r--r-- | libraries/afflib/afflib.info | 10 |
3 files changed, 21 insertions, 10 deletions
diff --git a/libraries/afflib/README b/libraries/afflib/README index 50694d9405..149236994b 100644 --- a/libraries/afflib/README +++ b/libraries/afflib/README @@ -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.
\ No newline at end of file +afflib can use libewf if it's installed. diff --git a/libraries/afflib/afflib.SlackBuild b/libraries/afflib/afflib.SlackBuild index 1d61bbc8c5..831789b633 100644 --- a/libraries/afflib/afflib.SlackBuild +++ b/libraries/afflib/afflib.SlackBuild @@ -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} diff --git a/libraries/afflib/afflib.info b/libraries/afflib/afflib.info index e7491b3d67..1dd9ad0a48 100644 --- a/libraries/afflib/afflib.info +++ b/libraries/afflib/afflib.info @@ -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" |