mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/gtkmm: Updated for version 2.18.2.
This commit is contained in:
parent
e5761c2657
commit
444bbb921d
3 changed files with 24 additions and 18 deletions
32
libraries/gtkmm/gtkmm.SlackBuild
Normal file → Executable file
32
libraries/gtkmm/gtkmm.SlackBuild
Normal file → Executable 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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue