libraries/cairomm: Updated for version 1.8.4.

This commit is contained in:
Robby Workman 2010-05-18 08:41:22 -05:00
parent 063d3cd940
commit 3412f17a83
3 changed files with 22 additions and 14 deletions

24
libraries/cairomm/cairomm.SlackBuild Normal file → Executable file
View file

@ -23,11 +23,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cairomm
VERSION=${VERSION:-1.8.0}
ARCH=${ARCH:-i486}
VERSION=${VERSION:-1.8.4}
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
@ -42,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -66,15 +78,11 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--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
cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
# API reference docs are in here, but we don't need those
rm -rf $PKG/usr/share/doc
rmdir $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="cairomm"
VERSION="1.8.0"
VERSION="1.8.4"
HOMEPAGE="http://cairographics.org/cairomm/"
DOWNLOAD="http://cairographics.org/releases/cairomm-1.8.0.tar.gz"
MD5SUM="15c0f56eee57bb418c38463a6297d715"
DOWNLOAD="http://cairographics.org/releases/cairomm-1.8.4.tar.gz"
MD5SUM="559afbc47484ba3fad265e38a3dafe90"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="paul wisehart"

View file

@ -11,9 +11,9 @@ cairomm:
cairomm: cairomm is a C++ wrapper for the cairo graphics library. It offers
cairomm: all the power of cairo with an interface familiar to C++ developers,
cairomm: including use of the Standard Template Library where it makes sense.
cairomm:
cairomm:
cairomm: Homepage: http://cairographics.org/cairomm/
cairomm:
cairomm:
cairomm:
cairomm:
cairomm:
cairomm: