summaryrefslogtreecommitdiffstats
path: root/network/sparkleshare/sparkleshare.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sparkleshare/sparkleshare.SlackBuild')
-rw-r--r--network/sparkleshare/sparkleshare.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/network/sparkleshare/sparkleshare.SlackBuild b/network/sparkleshare/sparkleshare.SlackBuild
index 68f5dc0cd0..7d9ed01a19 100644
--- a/network/sparkleshare/sparkleshare.SlackBuild
+++ b/network/sparkleshare/sparkleshare.SlackBuild
@@ -25,7 +25,8 @@
# Updated by Donald Cooley <dfc@warpmail.net>
PRGNAM=sparkleshare
-VERSION=${VERSION:-1.2}
+SRCNAM=SparkleShare
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,15 +62,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-linux-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \