diff options
-rw-r--r-- | libraries/tre/tre.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/tre/tre.info | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libraries/tre/tre.SlackBuild b/libraries/tre/tre.SlackBuild index f192278c6d..453e5bda1e 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} diff --git a/libraries/tre/tre.info b/libraries/tre/tre.info index 105958423d..3e40046efa 100644 --- a/libraries/tre/tre.info +++ b/libraries/tre/tre.info @@ -2,7 +2,9 @@ PRGNAM="tre" VERSION="0.7.5" HOMEPAGE="http://laurikari.net/tre/" DOWNLOAD="http://laurikari.net/tre/tre-0.7.5.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="e72e5c94008865cf720992a0b25d6e89" +MD5SUM_x86_64="" MAINTAINER="Frank Caraballo" EMAIL="fecaraballo{at}gmail{dot}com" APPROVED="dsomero" |