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>
PRGNAM=gtkmm
VERSION=${VERSION:-2.14.3}
ARCH=${ARCH:-i486}
VERSION=${VERSION:-2.18.2}
BUILD=${BUILD:-1}
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)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -44,6 +53,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -68,20 +80,14 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
make libdocdir=/usr/doc/$PRGNAM-$VERSION
make install-strip DESTDIR=$PKG libdocdir=/usr/doc/$PRGNAM-$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* \
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS PORTING README* \
$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
# Remove API docs
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/reference \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
## Remove API docs
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/{reference,examples}
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,8 +1,8 @@
PRGNAM="gtkmm"
VERSION="2.14.3"
VERSION="2.18.2"
HOMEPAGE="http://www.gtkmm.org/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/gtkmm-2.14.3.tar.bz2"
MD5SUM="10039f35d7f815d47f926a13cefe65d6"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.18/gtkmm-2.18.2.tar.bz2"
MD5SUM="3e43e9eef1da8988a76a2815d6b31c91"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
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: designer, using libglademm. There's extensive documentation,
gtkmm: including API reference and a tutorial.
gtkmm:
gtkmm:
gtkmm: Homepage: http://www.gtkmm.org/
gtkmm:
gtkmm: