summaryrefslogtreecommitdiff
path: root/libraries/pyfltk/pyfltk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pyfltk/pyfltk.SlackBuild')
-rw-r--r--libraries/pyfltk/pyfltk.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/pyfltk/pyfltk.SlackBuild b/libraries/pyfltk/pyfltk.SlackBuild
index 8ba9065534..4af951e44c 100644
--- a/libraries/pyfltk/pyfltk.SlackBuild
+++ b/libraries/pyfltk/pyfltk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pyfltk
-# Copyright 2006 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2006-8 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Exit on most errors
-set -e
-
PRGNAM=pyfltk
SRC_PRGNAM=pyFltk
-VERSION=1.1.2
+VERSION=1.1.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -41,6 +39,9 @@ DOCFILES="CHANGES PKG-INFO INSTALL TODO COPYING README"
HTMLDOCS="fltk/docs/*"
TESTFILES="fltk/test/*"
+# Exit on most errors
+set -e
+
# SLKCFLAGS are not necessary, it builds using fltk-config flags
rm -rf $PKG
@@ -63,7 +64,7 @@ mv $TESTFILES $PKG/usr/doc/$PRGNAM-$VERSION/test/
# build from swig interface files
cd python
-# FLTK_HOME= is not necessary anymore (include directory auto-detected)
+# FLTK_HOME= is not necessary anymore (include directory is auto-detected)
python ./MakeSwig.py
cd $TMP/$SRC_PRGNAM-$VERSION