summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
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 eb88caad31..9faf336464 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 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="<iskar.enev[@]gmail.com>"
APPROVED="rworkman"