summaryrefslogtreecommitdiff
path: root/libraries/fltk
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk')
-rw-r--r--libraries/fltk/fltk.SlackBuild12
-rw-r--r--libraries/fltk/fltk.info8
2 files changed, 12 insertions, 8 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index 1eee41bde2..531aab5e77 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -26,9 +26,9 @@
set -e
PRGNAM=fltk
-VERSION=1.1.7
+VERSION=1.1.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -52,6 +52,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# --docdir seems to be ignored
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -84,11 +85,14 @@ rm -rf $PKG/usr/man/cat{1,3}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{examples,html}
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+# move html and image files
mv $PKG/usr/share/doc/$PRGNAM/*.{html,gif,jpg} \
$PKG/usr/doc/$PRGNAM-$VERSION/html/
-mv $PKG/usr/share/doc/$PRGNAM/examples/*.{h,cxx,xbm,xpm,menu,fl} \
- $PKG/usr/doc/$PRGNAM-$VERSION/examples/
+# move remaing files
+mv $PKG/usr/share/doc/$PRGNAM/examples \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/fltk/fltk.info b/libraries/fltk/fltk.info
index 67e8f6d612..2e9cb60dc0 100644
--- a/libraries/fltk/fltk.info
+++ b/libraries/fltk/fltk.info
@@ -1,8 +1,8 @@
PRGNAM="fltk"
-VERSION="1.1.7"
+VERSION="1.1.9"
HOMEPAGE="http://www.fltk.org"
-DOWNLOAD="ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/1.1.7/fltk-1.1.7-source.tar.bz2"
-MD5SUM="2e29319119adc9d63b2f26b72cae0a88"
+DOWNLOAD="ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/1.1.9/fltk-1.1.9-source.tar.bz2"
+MD5SUM="e146fd264e1001b1313acfd41ef75552"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="rworkman"
+APPROVED="Erik Hanson" \ No newline at end of file