diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-13 00:28:56 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:28:56 +0200 |
commit | 7500f7a27d2ef642c54d42739eeeb25e46e0bb67 (patch) | |
tree | 3c3269088c1136c36655b837fbc61feeb7051dd0 /libraries/cairomm | |
parent | f72b7f7c735b2d0079659aba5ccd8ece0dda6d6e (diff) |
libraries/cairomm: Updated for version 1.8.0
Diffstat (limited to 'libraries/cairomm')
-rw-r--r-- | libraries/cairomm/README | 3 | ||||
-rw-r--r-- | libraries/cairomm/cairomm.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/cairomm/cairomm.info | 8 |
3 files changed, 16 insertions, 8 deletions
diff --git a/libraries/cairomm/README b/libraries/cairomm/README index 85b6a3ae77bcb..b3aa95e766d50 100644 --- a/libraries/cairomm/README +++ b/libraries/cairomm/README @@ -2,5 +2,4 @@ cairomm is a C++ wrapper for the cairo graphics library. It offers all the power of cairo with an interface familiar to C++ developers, including use of the Standard Template Library where it makes sense. -This requires glibmm, and graphviz is optional. Both are available -from SlackBuilds.org. +This requires glibmm, and graphviz is optional. diff --git a/libraries/cairomm/cairomm.SlackBuild b/libraries/cairomm/cairomm.SlackBuild index e9d0806d78f46..7b13a8691f5dc 100644 --- a/libraries/cairomm/cairomm.SlackBuild +++ b/libraries/cairomm/cairomm.SlackBuild @@ -23,20 +23,25 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cairomm -VERSION=${VERSION:-1.6.4} +VERSION=${VERSION:-1.8.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -54,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -68,10 +74,11 @@ 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 cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/cairomm/cairomm.info b/libraries/cairomm/cairomm.info index de84cf6ee9c29..c97e265c6c933 100644 --- a/libraries/cairomm/cairomm.info +++ b/libraries/cairomm/cairomm.info @@ -1,8 +1,10 @@ PRGNAM="cairomm" -VERSION="1.6.4" +VERSION="1.8.0" HOMEPAGE="http://cairographics.org/cairomm/" -DOWNLOAD="http://cairographics.org/releases/cairomm-1.6.4.tar.gz" -MD5SUM="63561c62536173a98f03005dfe55c90e" +DOWNLOAD="http://cairographics.org/releases/cairomm-1.8.0.tar.gz" +DOWNLOAD_x86_64="" +MD5SUM="15c0f56eee57bb418c38463a6297d715" +MD5SUM_x86_64="" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" APPROVED="rworkman" |