summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild11
-rw-r--r--libraries/Crypt-SSLeay/Crypt-SSLeay.info2
-rw-r--r--libraries/Crypt-SSLeay/slack-desc8
3 files changed, 18 insertions, 3 deletions
diff --git a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
index a6e917b81f..937ec693ae 100644
--- a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
+++ b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
@@ -38,10 +38,13 @@ DOCS="Changes README TODO"
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
@@ -69,8 +72,10 @@ make DESTDIR=$PKG \
install
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -91,4 +96,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/Crypt-SSLeay/Crypt-SSLeay.info b/libraries/Crypt-SSLeay/Crypt-SSLeay.info
index d2b1a73b19..24fc8ae147 100644
--- a/libraries/Crypt-SSLeay/Crypt-SSLeay.info
+++ b/libraries/Crypt-SSLeay/Crypt-SSLeay.info
@@ -2,7 +2,9 @@ PRGNAM="Crypt-SSLeay"
VERSION="0.57"
HOMEPAGE="http://search.cpan.org/~dland/Crypt-SSLeay-0.57/SSLeay.pm"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="82264180f5911dce33dbd85e24b1f36b"
+MD5SUM_x86_64=""
MAINTAINER="Manuel Reimer"
EMAIL="manuel.reimer@gmx.de"
APPROVED="dsomero"
diff --git a/libraries/Crypt-SSLeay/slack-desc b/libraries/Crypt-SSLeay/slack-desc
index 324d1731b6..93128b3bd1 100644
--- a/libraries/Crypt-SSLeay/slack-desc
+++ b/libraries/Crypt-SSLeay/slack-desc
@@ -1,3 +1,11 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
Crypt-SSLeay: Crypt-SSLeay (perl module)
Crypt-SSLeay:
Crypt-SSLeay: This module provides support for the https protocol under LWP