wok-next view espeak/receipt @ rev 1464
Add: portaudio, portaudio-dev espeak.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Oct 04 10:52:14 2008 +0200 (2008-10-04) |
parents | |
children | 1c41c181bb35 |
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.39"
5 CATEGORY="extras"
6 SHORT_DESC="Speech synthesizer"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="portaudio"
9 BUILD_DEPENDS="portaudio-dev"
10 TARBALL="$PACKAGE-$VERSION-source.zip"
11 WEB_SITE="http://espeak.sourceforge.net/"
12 WGET_URL="http://master.dl.sourceforge.net/sourceforge/espeak/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 #unzip $TARBALL
18 cd $src-source/src
20 # Using portaudio v19
21 cp portaudio19.h portaudio.h
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
31 cp -a $src-source/src/espeak $fs/usr/bin
32 cp -a $src-source/src/speak $fs/usr/bin
33 cp -a $src-source/src/*.so* $fs/usr/lib
34 cp -a $src-source/espeak-data $fs/usr/share
36 # Make symlink
37 cd $fs/usr/lib
38 ln -s libespeak.so.1.1.39 libespeak.so.1
39 }
41 clean_wok()
42 {
43 rm -rf $WOK/$PACKAGE/$PACKAGE*
44 }