wok-6.x view espeak/receipt @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents a4d7cdc4c433
children 55031da0f063
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.48.04"
5 CATEGORY="misc"
6 TAGS="speech synthesis"
7 SHORT_DESC="Speech synthesizer."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://espeak.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION-source.zip"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/${VERSION%.*}/$TARBALL"
16 DEPENDS="portaudio jack-audio-connection-kit"
17 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
24 cd $src/src
26 # Using portaudio v19
27 cp portaudio19.h portaudio.h
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share $fs/usr
42 # Make symlink
43 #cd $fs/usr/lib
44 #ln -s libespeak.so.1.1.42 libespeak.so.1
45 }