summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a2902d2467..2129445eaa 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 4f4f9dea01..9b6bc6ee98 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 8486c5ce75..14fab682ec 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