diff options
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-rw-r--r-- | libraries/fltk/fltk.SlackBuild | 12 |
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 |