From e090fcb4b26f27dda340ccc791bbb4d0790a345a Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Tue, 11 May 2010 22:23:48 +0200 Subject: [PATCH] libraries/libarchive: Updated for version 2.5.5 --- libraries/libarchive/libarchive.SlackBuild | 8 ++++++-- libraries/libarchive/libarchive.info | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libraries/libarchive/libarchive.SlackBuild b/libraries/libarchive/libarchive.SlackBuild index 16fa0914fe..9d7d357381 100644 --- a/libraries/libarchive/libarchive.SlackBuild +++ b/libraries/libarchive/libarchive.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libarchive -VERSION=2.4.13 +VERSION=2.5.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -57,7 +59,9 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG diff --git a/libraries/libarchive/libarchive.info b/libraries/libarchive/libarchive.info index 2c353de09d..1cf257d494 100644 --- a/libraries/libarchive/libarchive.info +++ b/libraries/libarchive/libarchive.info @@ -1,8 +1,8 @@ PRGNAM="libarchive" -VERSION="2.4.13" +VERSION="2.5.5" HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/" -DOWNLOAD="http://people.freebsd.org/~kientzle/libarchive/src/libarchive-2.4.13.tar.gz" -MD5SUM="47b1032e2fbd4ecd34bd3fea05ee4c14" +DOWNLOAD="http://people.freebsd.org/~kientzle/libarchive/src/libarchive-2.5.5.tar.gz" +MD5SUM="ff6387de3a3830785b229d1e1f11f523" MAINTAINER="ppr:kut" EMAIL="HMWiesinger@gmx.at" -APPROVED="David Somero" +APPROVED="Erik Hanson"