summaryrefslogtreecommitdiff
path: root/office/abiword/abiword.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2017-05-14 16:17:03 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-20 06:52:24 +0700
commit78af1dbf5a27a80f24d39064a84c8376b8ac6ab6 (patch)
treeac596f163c51b415b1a91730118bf41c9b9e86cc /office/abiword/abiword.SlackBuild
parent2c56103d6a3cf0cdf2391942526c343f62480978 (diff)
downloadslackbuilds-78af1dbf5a27a80f24d39064a84c8376b8ac6ab6.tar.gz
office/abiword: Updated for version 3.0.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 \