aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-05-11 22:22:34 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:22:34 +0200
commit6437930cda1e3b43106f2eade9e37a705188f553 (patch)
tree6e29826b35fe8d667b9eed4b4aa996183099c5b1 /development
parentebe06dfc073dff259a0acb304db14ead7b3ce803 (diff)
development/intltool: Updated for version 0.40.0
Diffstat (limited to 'development')
-rw-r--r--development/intltool/intltool.SlackBuild11
-rw-r--r--development/intltool/intltool.info8
2 files changed, 12 insertions, 7 deletions
diff --git a/development/intltool/intltool.SlackBuild b/development/intltool/intltool.SlackBuild
index eb88caad31ceb..9faf336464bcf 100644
--- a/development/intltool/intltool.SlackBuild
+++ b/development/intltool/intltool.SlackBuild
@@ -5,10 +5,11 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
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 6057f874f69aa..048ebdd3045c4 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="<iskar.enev[@]gmail.com>"
APPROVED="rworkman"