aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:20:27 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:20:27 +0200
commitbc6dd848aace5b0f303fc8def9c34a7eca0d952b (patch)
tree25d14c9f6d94e9bdd4bf06c94607b7fd8c772465 /academic
parentb386375d6eccfd77c0ef92d11ddbf72c6649e60e (diff)
academic/tuxtype2: Updated for version 1.5.3
Diffstat (limited to 'academic')
-rw-r--r--academic/tuxtype2/tuxtype2.SlackBuild6
-rw-r--r--academic/tuxtype2/tuxtype2.info2
2 files changed, 7 insertions, 1 deletions
diff --git a/academic/tuxtype2/tuxtype2.SlackBuild b/academic/tuxtype2/tuxtype2.SlackBuild
index 2cfbef2b91a30..44d6d71cecea6 100644
--- a/academic/tuxtype2/tuxtype2.SlackBuild
+++ b/academic/tuxtype2/tuxtype2.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
@@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
@@ -80,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/academic/tuxtype2/tuxtype2.info b/academic/tuxtype2/tuxtype2.info
index 9dfbba95ec25b..03716f5f40e66 100644
--- a/academic/tuxtype2/tuxtype2.info
+++ b/academic/tuxtype2/tuxtype2.info
@@ -2,7 +2,9 @@ PRGNAM="tuxtype2"
VERSION="1.5.3"
HOMEPAGE="http://tuxtype.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/tuxtype/tuxtype2-1.5.3.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="ca04e65d3b19ddeeedb8a49147ed642b"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="dsomero"