diff options
Diffstat (limited to 'development/intltool/intltool.SlackBuild')
-rw-r--r-- | development/intltool/intltool.SlackBuild | 11 |
1 files changed, 8 insertions, 3 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 ) |