libraries/fltk: Updated for version 1.1.9

This commit is contained in:
LukenShiro 2010-05-11 22:23:40 +02:00 committed by Erik Hanson
parent 3c71e7c1bc
commit 5289405149
2 changed files with 12 additions and 8 deletions

View file

@ -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

View file

@ -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"