aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:33:43 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:43 +0200
commit9b9e23bd477563b56c41a0663df1b16d513bb605 (patch)
treebe615f3a015a2240209ec45feba6643edabc8981 /libraries
parentdce37c80a6540724c7d41b0d7c66f206c520d507 (diff)
libraries/tre: Updated for version 0.7.5
Diffstat (limited to 'libraries')
-rw-r--r--libraries/tre/tre.SlackBuild6
-rw-r--r--libraries/tre/tre.info2
2 files changed, 7 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}
diff --git a/libraries/tre/tre.info b/libraries/tre/tre.info
index 105958423da1b..3e40046efa80f 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"