diff options
author | Michales Michaloudes <korgie_erase_this_and_this@gmail.com> | 2010-05-13 00:37:36 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:37:36 +0200 |
commit | 1623f51c7fab26f2ae7cb30176e4583169ff3c8c (patch) | |
tree | f62f4c2c89200360fb27a751f708bf7019ca3562 /network/nload/nload.SlackBuild | |
parent | da7f370617e4ccdcf0c30a4000e8094a8ed03cc0 (diff) |
network/nload: Updated for version 0.7.2
Diffstat (limited to 'network/nload/nload.SlackBuild')
-rw-r--r-- | network/nload/nload.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/network/nload/nload.SlackBuild b/network/nload/nload.SlackBuild index cf7178febfff9..bf38a1b77c8f0 100644 --- a/network/nload/nload.SlackBuild +++ b/network/nload/nload.SlackBuild @@ -18,10 +18,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 # Exit on most errors @@ -39,6 +42,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -49,8 +53,10 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man || exit 1 @@ -68,4 +74,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} |