wok view espeak/receipt @ rev 3392
Ren: docutils -> python-docutils
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 00:07:46 2009 +0000 (2009-06-12) |
parents | 206274050160 |
children | 4014c157f239 |
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.40.02"
5 CATEGORY="misc"
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.40 libespeak.so.1
39 }
41 clean_wok()
42 {
43 rm -rf $WOK/$PACKAGE/$PACKAGE*
44 }