wok-next view espeak/receipt @ rev 20477

gc: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 11 20:14:32 2018 +0100 (2018-03-11)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="espeak"
4 VERSION="1.45.05"
5 CATEGORY="misc"
6 SHORT_DESC="Speech synthesizer"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://espeak.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION-source.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="portaudio-dev jack-dev"
15 SPLIT="espeak-dev"
17 compile_rules() {
18 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
19 cd $src/src
21 # Using portaudio v19
22 cp portaudio19.h portaudio.h
24 make && make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 espeak)
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/share $fs/usr
35 # Make symlink
36 #cd $fs/usr/lib
37 #ln -s libespeak.so.1.1.42 libespeak.so.1
38 DEPENDS="portaudio jack"
39 TAGS="speech synthesis"
40 ;;
41 *-dev)
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.a* $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 ;;
46 esac
47 }