diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-13 00:33:43 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:33:43 +0200 |
commit | 9b9e23bd477563b56c41a0663df1b16d513bb605 (patch) | |
tree | be615f3a015a2240209ec45feba6643edabc8981 /libraries/tre/tre.SlackBuild | |
parent | dce37c80a6540724c7d41b0d7c66f206c520d507 (diff) |
libraries/tre: Updated for version 0.7.5
Diffstat (limited to 'libraries/tre/tre.SlackBuild')
-rw-r--r-- | libraries/tre/tre.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/tre/tre.SlackBuild b/libraries/tre/tre.SlackBuild index f192278c6d0ae..453e5bda1eda9 100644 --- a/libraries/tre/tre.SlackBuild +++ b/libraries/tre/tre.SlackBuild @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} 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 @@ -57,6 +60,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -81,4 +85,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} |