summaryrefslogtreecommitdiff
path: root/accessibility/easystroke/easystroke.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/easystroke/easystroke.SlackBuild')
-rw-r--r--accessibility/easystroke/easystroke.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/accessibility/easystroke/easystroke.SlackBuild b/accessibility/easystroke/easystroke.SlackBuild
index 316db22196..5b1164ba4b 100644
--- a/accessibility/easystroke/easystroke.SlackBuild
+++ b/accessibility/easystroke/easystroke.SlackBuild
@@ -5,16 +5,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=easystroke
-VERSION=${VERSION:-0.4.9}
+VERSION=0.5.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -24,9 +22,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Determine if we compile manpages with help2man. Default is no.
-COMPILE_MAN=${COMPILE_MAN:-no}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -58,10 +53,13 @@ find . \
# Add StartupNotify to desktop menu item.
echo "StartupNotify=false" >> $PRGNAM.desktop.in
+# Fix multithreading boost library in Makefile.
+sed -i 's|-lboost_serialization-mt|-lboost_serialization|' Makefile
make CXX="g++ $SLKCFLAGS" CC="gcc -std=c99 $SLKCFLAGS" PREFIX=/usr
-if [ "$COMPILE_MAN" == "yes" ]; then
+# Determine if we compile manpages with help2man. Default is no.
+if [ "${COMPILE_MAN:-no}" != "no" ]; then
make man
mkdir -p $PKG/usr/man/man1
gzip -9c $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz