diff options
author | Manuel Reimer <manuel.reimer@gmx.de> | 2010-05-13 00:28:27 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:28:27 +0200 |
commit | 9b7e994fb430f1be697aef5380bba2dc4fa027d3 (patch) | |
tree | dc9f820ac7668b0c2247e507ccf00b3bb0f44009 /libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild | |
parent | d7f0344abb0401ba6f0d7604682c23003692701c (diff) | |
download | slackbuilds-9b7e994fb430f1be697aef5380bba2dc4fa027d3.tar.gz |
libraries/Crypt-SSLeay: Updated for version 0.57
Diffstat (limited to 'libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild')
-rw-r--r-- | libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild | 11 |
1 files changed, 8 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} |