diff options
Diffstat (limited to 'network/ModemManager/ModemManager.SlackBuild')
-rw-r--r-- | network/ModemManager/ModemManager.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/network/ModemManager/ModemManager.SlackBuild b/network/ModemManager/ModemManager.SlackBuild index d32821c034d13..2c651255be9c5 100644 --- a/network/ModemManager/ModemManager.SlackBuild +++ b/network/ModemManager/ModemManager.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ModemManager -# Copyright 2010 Robby Workman, Northport, Alabama, USA +# Copyright 2010, 2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ModemManager -VERSION=${VERSION:-0.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -69,9 +69,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Let this build on -current (but no effect on 13.1) -patch -p1 < $CWD/fixup_new_glib_api.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -84,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \ --build=$ARCH-slackware-linux -make +make V=1 make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -98,6 +95,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install 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.${PKGTYPE:-tgz} |