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 | |
parent | da7f370617e4ccdcf0c30a4000e8094a8ed03cc0 (diff) |
network/nload: Updated for version 0.7.2
Diffstat (limited to 'network/nload')
-rw-r--r-- | network/nload/nload.SlackBuild | 12 | ||||
-rw-r--r-- | network/nload/nload.info | 4 |
2 files changed, 12 insertions, 4 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} diff --git a/network/nload/nload.info b/network/nload/nload.info index 923c943dd6456..7d781af72711f 100644 --- a/network/nload/nload.info +++ b/network/nload/nload.info @@ -2,7 +2,9 @@ PRGNAM="nload" VERSION="0.7.2" HOMEPAGE="http://sourceforge.net/projects/nload/" DOWNLOAD="http://downloads.sourceforge.net/nload/nload-0.7.2.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="5b851ecf898edcd1f465946745e95eb6" -AUTHOR="Michales Michaloudes" +MD5SUM_x86_64="" +MAINTAINER="Michales Michaloudes" EMAIL="korgie_erase_this_and_this@gmail.com" APPROVED="rworkman" |