diff options
author | Guillermo Bonvehi <gbonvehi@gmail.com> | 2010-05-11 22:26:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:26:59 +0200 |
commit | 20f8229999d29edbbee56687abf0c096946df954 (patch) | |
tree | 4e48a7ef38f618ebba139faceefbbda07a5336f0 /system/pmount/pmount.SlackBuild | |
parent | 2b303a0c62440e0fc7f54aa8afd21a94900cd5f7 (diff) |
system/pmount: Updated for version 0.9.17
Diffstat (limited to 'system/pmount/pmount.SlackBuild')
-rw-r--r-- | system/pmount/pmount.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild index 0cd834f0e2e9d..2dce8b0710dfb 100644 --- a/system/pmount/pmount.SlackBuild +++ b/system/pmount/pmount.SlackBuild @@ -25,13 +25,12 @@ # Modified by Robby Workman <http://rlworkman.net> # No additional license terms added. -set -e - PRGNAM=pmount -VERSION=0.9.16 +VERSION=0.9.17 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -43,11 +42,13 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || ( echo "Cannot find sources file: $PRGNAM-$VERSION.tar.gz"; exit 1; ) +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -59,7 +60,10 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --enable-hal + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-hal \ + --disable-static \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -82,7 +86,7 @@ mv $PKG/etc/pmount.allow $PKG/etc/pmount.allow.new ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS README COPYING ChangeLog INSTALL NEWS TODO README.devel \ +cp -a AUTHORS README* COPYING ChangeLog INSTALL NEWS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |