aboutsummaryrefslogtreecommitdiff
path: root/libraries/pyfltk/pyfltk.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-11 22:24:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:16 +0200
commit1177ecd0a5e31031eb8f4c4558be38cc303aab1c (patch)
tree3af74c436de675698e6380bdc39f03c355f56b86 /libraries/pyfltk/pyfltk.SlackBuild
parentccd5a621674df478b1fe3e86ce83a2e6a569503f (diff)
libraries/pyfltk: Updated for version 1.1.3
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 8ba9065534dc3..4af951e44c817 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