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 /libraries/td_lib/td_lib.SlackBuild | |
parent | 929ceee73c71be6e0af69fe2af3233391f15608c (diff) | |
download | slackbuilds-dd6d5a96f27ba526b79727aa45f6c6bbed5cbbdb.tar.gz |
libraries/td_lib: Updated for version 20061029
Diffstat (limited to 'libraries/td_lib/td_lib.SlackBuild')
-rw-r--r-- | libraries/td_lib/td_lib.SlackBuild | 13 |
1 files changed, 11 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} |