From e478fea37f909897707b2d958fc5b8e2634e1f39 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 13 May 2010 00:38:47 +0200 Subject: network/wvdial: Updated for version 1.60 --- network/wvdial/wvdial.SlackBuild | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'network/wvdial/wvdial.SlackBuild') diff --git a/network/wvdial/wvdial.SlackBuild b/network/wvdial/wvdial.SlackBuild index 28c60043d6..cf1cdd2384 100644 --- a/network/wvdial/wvdial.SlackBuild +++ b/network/wvdial/wvdial.SlackBuild @@ -17,10 +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 @@ -45,8 +48,10 @@ make prefix=/usr MANDIR=/usr/man make prefix=/usr MANDIR=/usr/man install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || exit 1 - 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 || exit 1 + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -60,8 +65,9 @@ mv $PKG/etc/ppp/peers/wvdial-pipe $PKG/etc/ppp/peers/wvdial-pipe.new mv $PKG/etc/ppp/peers/wvdial $PKG/etc/ppp/peers/wvdial.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES COPYING.LIB ChangeLog FAQ README TODO MENUS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES COPYING.LIB ChangeLog FAQ README TODO MENUS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -69,4 +75,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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} -- cgit v1.2.3