diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-12 17:40:51 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:40:51 +0200 |
commit | c7209909200f48c4a2f191c4e7a1e529590c6553 (patch) | |
tree | a5c4a6d45c7d15369f67cd4c4188456b824e87c0 /libraries/gtkmm | |
parent | 86817acae962ce73f73e97f07e604abf1223195e (diff) |
libraries/gtkmm: Updated for version 2.12.7
Diffstat (limited to 'libraries/gtkmm')
-rw-r--r-- | libraries/gtkmm/gtkmm.SlackBuild | 46 | ||||
-rw-r--r-- | libraries/gtkmm/gtkmm.info | 6 |
2 files changed, 30 insertions, 22 deletions
diff --git a/libraries/gtkmm/gtkmm.SlackBuild b/libraries/gtkmm/gtkmm.SlackBuild index 5bd1dba899f2..898b9fa4ae54 100644 --- a/libraries/gtkmm/gtkmm.SlackBuild +++ b/libraries/gtkmm/gtkmm.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for gtkmm 2.10.6 +# Slackware build script for gtkmm # Copyright (C) 2006 paul wisehart wise@lupulin.net # All rights reserved. @@ -22,29 +22,35 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PKGNAME=gtkmm -VERSION=${VERSION:-2.12.5} +# Modified by Robby Workman <rworkman@slackbuilds.org> + +PRGNAM=gtkmm +VERSION=${VERSION:-2.12.7} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PKGNAME +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 -rm -rf $PKGNAME-$VERSION -tar xvf $CWD/$PKGNAME-$VERSION.tar.bz2 || exit 1 -cd $PKGNAME-$VERSION || exit 1 +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+rw,go-w+r . @@ -54,25 +60,27 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - || exit 1 + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION -mv $PKG/usr/share/doc/gtkmm-2.4/* $PKG/usr/doc/$PKGNAME-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/gtkmm-2.4/* $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS CHANGES COPYING ChangeLog INSTALL NEWS PORTING README* \ - $PKG/usr/doc/$PKGNAME-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/devhelp/books/gtkmm-2.4/gtkmm-2.4.devhelp \ - $PKG/usr/doc/$PKGNAME-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share -cat $CWD/$PKGNAME.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PKGNAME.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Remove API docs -rm -rf $PKG/usr/doc/$PKGNAME-$VERSION/docs/reference \ - $PKG/usr/doc/$PKGNAME-$VERSION/examples +rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/reference \ + $PKG/usr/doc/$PRGNAM-$VERSION/examples mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/libraries/gtkmm/gtkmm.info b/libraries/gtkmm/gtkmm.info index fccb64dca458..8ab8b43f2bae 100644 --- a/libraries/gtkmm/gtkmm.info +++ b/libraries/gtkmm/gtkmm.info @@ -1,8 +1,8 @@ PRGNAM="gtkmm" -VERSION="2.12.5" +VERSION="2.12.7" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/gtkmm-2.12.5.tar.bz2" -MD5SUM="ca21c054d7f7bbd9c737f22e14bccf82" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/gtkmm-2.12.7.tar.bz2" +MD5SUM="ad199f4a392799134c128deab48fee30" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" APPROVED="rworkman" |