summaryrefslogtreecommitdiff
path: root/libraries/fltk13/fltk13.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-12-29 10:23:58 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-29 10:24:21 +0100
commit145666a583e9bd016ebc9eca944a452202d3c8b3 (patch)
treeb163e2a551e98b718d14821fbe9944ee4944579d /libraries/fltk13/fltk13.SlackBuild
parentb8110015d64ede9928cc71b15709f77ca5ffe80e (diff)
downloadslackbuilds-145666a583e9bd016ebc9eca944a452202d3c8b3.tar.gz
libraries/fltk13: Updated for version 1.3.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 \) \