summaryrefslogtreecommitdiffstats
path: root/office/abiword/abiword.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/abiword/abiword.SlackBuild')
-rw-r--r--office/abiword/abiword.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index 883cbc0181..9f52457ee6 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -27,8 +27,9 @@
# Now maintained by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=abiword
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.0.2}
DOCSVER=$VERSION # version of abiword-docs
+DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +68,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-rm -rf abiword-docs-$DOCSVER
+rm -rf abiword-docs-$DOCTAR
tar xvf $CWD/abiword-docs-$DOCSVER.tar.gz
chown -R root:root .
find -L . \
@@ -78,7 +79,7 @@ find -L . \
CPPFLAGS="-I$TMP/$PRGNAM-$VERSION" \
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -97,7 +98,7 @@ make
make install DESTDIR=$PKG
# Now install the separate abiword-docs
-cd abiword-docs-$DOCSVER
+cd abiword-docs-$DOCTAR
PATH="$PKG/usr/bin:$PATH" \
PKG_CONFIG_PATH="$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig:$PKG_CONFIG_PATH" \
./configure \