summaryrefslogtreecommitdiff
path: root/accessibility/espeak/espeak.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-12-27 00:58:28 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 19:22:54 -0200
commit60b9b3b9cb72833a0c5bc8b15a5ee1687f3c53d9 (patch)
tree47dc6dba49786be4ae19c5aef188d5d0bb751d01 /accessibility/espeak/espeak.SlackBuild
parent5fb9bd4c7dbb1b9f64a74cd40cf7b74d3a6e0116 (diff)
downloadslackbuilds-60b9b3b9cb72833a0c5bc8b15a5ee1687f3c53d9.tar.gz
accessibility/espeak: Updated for version 1.44.05.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'accessibility/espeak/espeak.SlackBuild')
-rw-r--r--accessibility/espeak/espeak.SlackBuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/accessibility/espeak/espeak.SlackBuild b/accessibility/espeak/espeak.SlackBuild
index ef56293444..e642695de0 100644
--- a/accessibility/espeak/espeak.SlackBuild
+++ b/accessibility/espeak/espeak.SlackBuild
@@ -5,16 +5,14 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=espeak
-VERSION=${VERSION:-1.42.04}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.44.05}
+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
@@ -54,7 +52,14 @@ find . \
-exec chmod 644 {} \;
# Cruft...
-rm -rf docs/images/.svn
+find . -type d -a -name .svn -print0 | xargs -0 rm -rf
+
+# Make the Makefile install everything stripped
+patch -p1 < $CWD/makefile.patch
+
+# Note: there are two executables (speak and espeak). They seem to do the same
+# thing, except "speak" doesn't use libespeak.so at runtime. This package only
+# installs "espeak" (which is how other distros do it, too).
cd src
@@ -70,16 +75,15 @@ fi
make LIBDIR=/usr/lib$LIBDIRSUFFIX CXXFLAGS="$SLKCFLAGS" $EXTRAMAKEFLAGS
make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG $EXTRAMAKEFLAGS
-strip $PKG/usr/bin/$PRGNAM $PKG/usr/lib$LIBDIRSUFFIX/lib$PRGNAM.so.*.*.*
rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a # guidelines say no static libs
find $PKG/usr/share -type f -print0 | xargs -0 chmod 644
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -r ChangeLog ReadMe *.txt docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -r ReadMe *.txt docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Man page from Ubuntu
+# Man page from Debian
mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz