diff options
author | Christoph Willing <chris.willing@linux.com> | 2015-10-09 23:27:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-09 23:27:44 +0700 |
commit | 28f63772025fbf96acad23a5e9962a77ce02ca45 (patch) | |
tree | 94c8d25e6a1a81932c96074ab20c31a575609855 /libraries/qwt/qwt.SlackBuild | |
parent | 3a9e63716206df892d50519e931751c60991eefc (diff) | |
download | slackbuilds-28f63772025fbf96acad23a5e9962a77ce02ca45.tar.gz |
libraries/qwt: Updated for version 6.1.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qwt/qwt.SlackBuild')
-rw-r--r-- | libraries/qwt/qwt.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libraries/qwt/qwt.SlackBuild b/libraries/qwt/qwt.SlackBuild index 2d837299f5..0741c09b99 100644 --- a/libraries/qwt/qwt.SlackBuild +++ b/libraries/qwt/qwt.SlackBuild @@ -4,12 +4,12 @@ # Written by Zordrak # Nobbled from Slacky and sanitised for sanity :) - # Modified by dunkyp <dunkyp@gmail.com> # Modified by the Slackbuilds.org project +# Maintained from 2015 by Christoph Willing <chris.willing@linux.com> PRGNAM=qwt -VERSION=${VERSION:-6.0.2} +VERSION=${VERSION:-6.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,6 +48,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION +patch -p0 < $CWD/patch-6.1.2-qwtconfig.diff +patch -p0 < $CWD/patch-6.1.2-pkgconfig.diff chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -55,10 +57,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/qwt-6.0.2-qwtconfig.pri.patch -sed -i -e "s%@LIBDIRSUFFIX@%$LIBDIRSUFFIX%" -e "s%@QT4DIR@%$QT4DIR%" qwtconfig.pri - -qmake INSTALLBASE=/usr CONFIG+=QwtExamples +qmake LIBDIRSUFFIX=$LIBDIRSUFFIX make \ CFLAGS+="$SLKCFLAGS" \ CXXFLAGS+="$SLKCFLAGS" @@ -75,9 +74,11 @@ rm -f $PKG/usr/man/man3/_tmp* ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples -cp -a CHANGES COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +find ./examples/ -name moc -type d |xargs rm -rf +find ./examples/ -name obj -type d |xargs rm -rf cp -a ./examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples mv $PKG/usr/doc/html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES* COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |