aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-13 00:28:23 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:28:23 +0200
commit038a8289f9ce2519d8009305d921295bfc090b8a (patch)
tree81614383369ed690d5846738c54460a954e7e1a3
parent25d87439b4b05e0621674a072ad1cdc156ac0e95 (diff)
libraries/Archive-Zip: Updated for version 1.23
-rw-r--r--libraries/Archive-Zip/Archive-Zip.SlackBuild7
-rw-r--r--libraries/Archive-Zip/Archive-Zip.info2
-rw-r--r--libraries/Archive-Zip/README1
3 files changed, 8 insertions, 2 deletions
diff --git a/libraries/Archive-Zip/Archive-Zip.SlackBuild b/libraries/Archive-Zip/Archive-Zip.SlackBuild
index a2902d2467d4..2129445eaaea 100644
--- a/libraries/Archive-Zip/Archive-Zip.SlackBuild
+++ b/libraries/Archive-Zip/Archive-Zip.SlackBuild
@@ -37,8 +37,13 @@ DOCS="LICENSE README"
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
rm -rf $PKG
@@ -77,4 +82,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/Archive-Zip/Archive-Zip.info b/libraries/Archive-Zip/Archive-Zip.info
index 4f4f9dea01c3..9b6bc6ee98d5 100644
--- a/libraries/Archive-Zip/Archive-Zip.info
+++ b/libraries/Archive-Zip/Archive-Zip.info
@@ -2,7 +2,9 @@ PRGNAM="Archive-Zip"
VERSION="1.23"
HOMEPAGE="http://search.cpan.org/~adamk/Archive-Zip-1.23/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-1.23.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="7ffcbdc1b603307235fb8d42084cb84d"
+MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="Erik Hanson"
diff --git a/libraries/Archive-Zip/README b/libraries/Archive-Zip/README
index 8486c5ce7515..14fab682ecb7 100644
--- a/libraries/Archive-Zip/README
+++ b/libraries/Archive-Zip/README
@@ -15,4 +15,3 @@ existing directories, files, or strings.
This module uses the Compress::Zlib library to read and write the
compressed streams inside the files.
-Requires Compress-Zlib also available at SlackBuilds.org