summaryrefslogtreecommitdiff
path: root/source/a/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/gettext')
-rwxr-xr-xsource/a/gettext/gettext-tools.SlackBuild4
-rwxr-xr-xsource/a/gettext/gettext.SlackBuild25
2 files changed, 25 insertions, 4 deletions
diff --git a/source/a/gettext/gettext-tools.SlackBuild b/source/a/gettext/gettext-tools.SlackBuild
index aa8bc699..117067b1 100755
--- a/source/a/gettext/gettext-tools.SlackBuild
+++ b/source/a/gettext/gettext-tools.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gettext-tools
-VERSION=0.19.8.1
-BUILD=${BUILD:-5}
+VERSION=0.20.1
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/a/gettext/gettext.SlackBuild b/source/a/gettext/gettext.SlackBuild
index f95e54c9..17f5545e 100755
--- a/source/a/gettext/gettext.SlackBuild
+++ b/source/a/gettext/gettext.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gettext
-VERSION=0.19.8.1
-BUILD=${BUILD:-5}
+VERSION=0.20.1
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -93,10 +93,26 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/gettext-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+cd ../libtextstyle
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/gettext-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Back to gettext-runtime to fetch docs:
+cd ../gettext-runtime
+
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
@@ -119,6 +135,11 @@ gzip -9 $PKG/usr/man/man?/*
cp -a \
AUTHORS BUGS intl/COPYING* INSTALL NEWS README* \
$PKG/usr/doc/gettext-$VERSION
+cd ../libtextstyle
+mkdir $PKG/usr/doc/gettext-$VERSION/libtextstyle
+cp -a \
+ AUTHORS COPYING* ChangeLog DEPENDENCIES HACKING INSTALL* NEWS README* \
+ $PKG/usr/doc/gettext-$VERSION/libtextstyle
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc