summaryrefslogtreecommitdiff
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-11 22:23:40 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:40 +0200
commit52894051498dcddf9c0271d87a15efbc84333eb9 (patch)
tree2e854266b0fd4e7568e0b2c4e0f951aa4419ea65 /libraries/fltk/fltk.SlackBuild
parent3c71e7c1bc2af30d88c9d05a5cc272fd2219ae7d (diff)
downloadslackbuilds-52894051498dcddf9c0271d87a15efbc84333eb9.tar.gz
libraries/fltk: Updated for version 1.1.9
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-rw-r--r--libraries/fltk/fltk.SlackBuild12
1 files changed, 8 insertions, 4 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