diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-13 00:33:40 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:33:40 +0200 |
commit | dd6d5a96f27ba526b79727aa45f6c6bbed5cbbdb (patch) | |
tree | f44cce2236eebcc4094b47ecec09d7826cc074fc | |
parent | 929ceee73c71be6e0af69fe2af3233391f15608c (diff) |
libraries/td_lib: Updated for version 20061029
-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 2c87ce6f885e..6ebdde9247fc 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 3197ea2d49cf..b0afe29faecc 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" |