summaryrefslogtreecommitdiff
path: root/libraries/libarchive
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 22:23:48 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:48 +0200
commite090fcb4b26f27dda340ccc791bbb4d0790a345a (patch)
treed879b715d4131d3d061d222cb7dc76b1303db465 /libraries/libarchive
parent59474a5765b6414333a97f250d7e7114e75f0ce2 (diff)
downloadslackbuilds-e090fcb4b26f27dda340ccc791bbb4d0790a345a.tar.gz
libraries/libarchive: Updated for version 2.5.5
Diffstat (limited to 'libraries/libarchive')
-rw-r--r--libraries/libarchive/libarchive.SlackBuild8
-rw-r--r--libraries/libarchive/libarchive.info8
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"