libraries/gtkmm: Updated for version 2.18.2.

This commit is contained in:
Robby Workman 2010-05-18 08:54:06 -05:00
parent e5761c2657
commit 444bbb921d
3 changed files with 24 additions and 18 deletions

32
libraries/gtkmm/gtkmm.SlackBuild Normal file → Executable file
View file

@ -25,11 +25,20 @@
# Modified by Robby Workman <rworkman@slackbuilds.org> # Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=gtkmm PRGNAM=gtkmm
VERSION=${VERSION:-2.14.3} VERSION=${VERSION:-2.18.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
@ -44,6 +53,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64" LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi fi
set -e set -e
@ -68,20 +80,14 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \ --disable-static \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make libdocdir=/usr/doc/$PRGNAM-$VERSION
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG libdocdir=/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS PORTING README* \
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/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/devhelp/books/gtkmm-2.4/gtkmm-2.4.devhelp \
$PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove API docs ## Remove API docs
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/reference \ rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/{reference,examples}
$PKG/usr/doc/$PRGNAM-$VERSION/examples
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="gtkmm" PRGNAM="gtkmm"
VERSION="2.14.3" VERSION="2.18.2"
HOMEPAGE="http://www.gtkmm.org/" HOMEPAGE="http://www.gtkmm.org/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/gtkmm-2.14.3.tar.bz2" DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.18/gtkmm-2.18.2.tar.bz2"
MD5SUM="10039f35d7f815d47f926a13cefe65d6" MD5SUM="3e43e9eef1da8988a76a2815d6b31c91"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="paul wisehart" MAINTAINER="paul wisehart"

View file

@ -14,6 +14,6 @@ gtkmm: of widgets that are easily extensible via inheritance. You can create
gtkmm: user interfaces either in code or with the Glade User Interface gtkmm: user interfaces either in code or with the Glade User Interface
gtkmm: designer, using libglademm. There's extensive documentation, gtkmm: designer, using libglademm. There's extensive documentation,
gtkmm: including API reference and a tutorial. gtkmm: including API reference and a tutorial.
gtkmm: gtkmm:
gtkmm: Homepage: http://www.gtkmm.org/ gtkmm: Homepage: http://www.gtkmm.org/
gtkmm: gtkmm: