diff options
-rw-r--r-- | libraries/td_lib/td_lib.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/td_lib/td_lib.info | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild index 2c87ce6f88..6ebdde9247 100644 --- a/libraries/td_lib/td_lib.SlackBuild +++ b/libraries/td_lib/td_lib.SlackBuild @@ -17,8 +17,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 set -e @@ -36,7 +41,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} + make make prefix=$PKG/usr install @@ -49,4 +58,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/td_lib/td_lib.info b/libraries/td_lib/td_lib.info index 3197ea2d49..b0afe29fae 100644 --- a/libraries/td_lib/td_lib.info +++ b/libraries/td_lib/td_lib.info @@ -2,7 +2,9 @@ PRGNAM="td_lib" VERSION="20061029" HOMEPAGE="http://invisible-island.net/ded/ded.html" DOWNLOAD="ftp://invisible-island.net/ded/td_lib-20061029.tgz" +DOWNLOAD_x86_64="" MD5SUM="6397a132e26917d0881046e19c36f95b" +MD5SUM_x86_64="" MAINTAINER="slakmagik" EMAIL="jsun@freeshell.org" APPROVED="rworkman" |