summaryrefslogtreecommitdiffstats
path: root/accessibility/easystroke/easystroke.SlackBuild
diff options
context:
space:
mode:
author Larry Hajali <larryhaja[at]gmail[dot]com>2010-07-02 21:28:24 -0500
committer Erik Hanson <erik@slackbuilds.org>2010-07-03 02:31:43 -0500
commit9b4d00f858b518e5baf828090b11b366fc154ff1 (patch)
treec435c1acf7ac2317bed72bf1ae7497bee9b2e72e /accessibility/easystroke/easystroke.SlackBuild
parente15bb1db2f3e07363e5be12389c1b24dd688972b (diff)
downloadslackbuilds-9b4d00f858b518e5baf828090b11b366fc154ff1.tar.gz
slackbuilds-9b4d00f858b518e5baf828090b11b366fc154ff1.tar.xz
accessibility/easystroke: Updated for version 0.5.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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