diff options
author | Brian Muramatsu <btmura@gmail.com> | 2010-05-13 00:38:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:38:45 +0200 |
commit | dce53a7c88738cf533906b9e9a01bda2701b7836 (patch) | |
tree | bf73dfb901d78a67c24458a3c2bf2eb256c0e032 | |
parent | 869d3d74a97048f81cf53b8a1f941f61117f6937 (diff) | |
download | slackbuilds-dce53a7c88738cf533906b9e9a01bda2701b7836.tar.gz |
network/wol: Updated for version 0.7.1
-rw-r--r-- | network/wol/wol.SlackBuild | 18 | ||||
-rw-r--r-- | network/wol/wol.info | 2 |
2 files changed, 14 insertions, 6 deletions
diff --git a/network/wol/wol.SlackBuild b/network/wol/wol.SlackBuild index a1046ec98e..5278b6cc33 100644 --- a/network/wol/wol.SlackBuild +++ b/network/wol/wol.SlackBuild @@ -16,11 +16,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mtune=i686" + SLKCFLAGS="-O2 -march=i386 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -41,6 +44,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -50,8 +54,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 @@ -72,4 +78,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/wol/wol.info b/network/wol/wol.info index 1f2068a440..befdb43e17 100644 --- a/network/wol/wol.info +++ b/network/wol/wol.info @@ -2,7 +2,9 @@ PRGNAM="wol" VERSION="0.7.1" HOMEPAGE="http://sourceforge.net/projects/wake-on-lan/" DOWNLOAD="http://downloads.sourceforge.net/wake-on-lan/wol-0.7.1.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="c2fa9d7e771134ac8c89d56b8197d4ca" +MD5SUM_x86_64="" MAINTAINER="Brian Muramatsu" EMAIL="btmura@gmail.com" APPROVED="rworkman" |