summaryrefslogtreecommitdiff
path: root/multimedia/qsampler/qsampler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/qsampler/qsampler.SlackBuild')
-rw-r--r--multimedia/qsampler/qsampler.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/qsampler/qsampler.SlackBuild b/multimedia/qsampler/qsampler.SlackBuild
index 97a752b645..9dc3c0963b 100644
--- a/multimedia/qsampler/qsampler.SlackBuild
+++ b/multimedia/qsampler/qsampler.SlackBuild
@@ -3,16 +3,14 @@
# Written by Michales Michaloudes korgie@gmail.com
PRGNAM=qsampler
-VERSION=${VERSION:-0.2.2}
+VERSION=${VERSION:-0.2.2.511svn}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -43,7 +41,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM-svn
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -51,6 +49,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+make -f Makefile.svn
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -60,7 +60,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
--build=$ARCH-slackware-linux
make