summaryrefslogtreecommitdiff
path: root/libraries/fltk13/fltk13.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk13/fltk13.SlackBuild')
-rw-r--r--libraries/fltk13/fltk13.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/fltk13/fltk13.SlackBuild b/libraries/fltk13/fltk13.SlackBuild
index c224b14845..98911133ec 100644
--- a/libraries/fltk13/fltk13.SlackBuild
+++ b/libraries/fltk13/fltk13.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fltk13
-# Copyright 2006-2012 LukenShiro, Italy
+# Copyright 2006-2013 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fltk13
-VERSION=1.3.x_r9631
+VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,6 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRCNAM=fltk
-SRCVERSION=$( echo $VERSION | tr _ - )
DOCFILES="ANNOUNCEMENT CHANGES COPYING CREDITS README"
# By default Cairo library support is disabled
CAIRO=${CAIRO:-0}
@@ -66,8 +65,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.bz2
-cd $SRCNAM-$SRCVERSION
+tar xvf $CWD/$SRCNAM-$VERSION-source.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \