From 6437930cda1e3b43106f2eade9e37a705188f553 Mon Sep 17 00:00:00 2001 From: Iskar Enev Date: Tue, 11 May 2010 22:22:34 +0200 Subject: development/intltool: Updated for version 0.40.0 --- development/intltool/intltool.SlackBuild | 11 ++++++++--- development/intltool/intltool.info | 8 ++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/development/intltool/intltool.SlackBuild b/development/intltool/intltool.SlackBuild index eb88caad31..9faf336464 100644 --- a/development/intltool/intltool.SlackBuild +++ b/development/intltool/intltool.SlackBuild @@ -5,10 +5,11 @@ # Modified by Robby Workman PRGNAM=intltool -VERSION=0.36.2 +VERSION=0.40.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -18,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -41,13 +44,15 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) diff --git a/development/intltool/intltool.info b/development/intltool/intltool.info index 6057f874f6..048ebdd304 100644 --- a/development/intltool/intltool.info +++ b/development/intltool/intltool.info @@ -1,8 +1,8 @@ PRGNAM="intltool" -VERSION="0.36.2" +VERSION="0.40.0" HOMEPAGE="ftp://ftp.gnome.org/pub/GNOME/sources/intltool/" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/intltool/0.36/intltool-0.36.2.tar.bz2" -MD5SUM="e41b8d791775fbd683784408f0e336a4" +DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.0.tar.bz2" +MD5SUM="a51faa2b0e543714f34f05d99a643443" MAINTAINER="Iskar Enev" -EMAIL="iskar.enev@gmail.com" +EMAIL="" APPROVED="rworkman" -- cgit v1.2.3