|
|
|
@ -3,11 +3,11 @@ |
|
|
|
# Slackware build script for espeakup |
|
|
|
|
|
|
|
# Written by albator albat0r78@wanadoo.fr |
|
|
|
|
|
|
|
# Updated by Lenard Spencer <lenardrspencer@gmail.com> |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=espeakup |
|
|
|
VERSION=${VERSION:-0.71} |
|
|
|
VERSION=${VERSION:-0.80} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -65,8 +65,8 @@ find -L . \ |
|
|
|
# 20211209 bkw: Slackware now ships espeak-ng, use it. |
|
|
|
sed -i 's,-lespeak,&-ng,' Makefile |
|
|
|
|
|
|
|
make MANDIR=/usr/man/man8 CFLAGS="$SLKCFLAGS" |
|
|
|
make install MANDIR=/usr/man/man8 DESTDIR=$PKG |
|
|
|
make BINDIR=/usr/bin MANDIR=/usr/man/ CFLAGS="$SLKCFLAGS" |
|
|
|
make install BINDIR=/usr/bin MANDIR=/usr/man/ DESTDIR=$PKG |
|
|
|
|
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
|
@ -74,6 +74,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr |
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
cat $CWD/slack-desc > $PKG/install/slack-desc |
|
|
|
|
|
|
|
|