wok-4.x view espeak/receipt @ rev 3060

Linux: don't forget firmwares...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 17:34:54 2009 +0200 (2009-05-13)
parents 1c41c181bb35
children 0304f47888d1
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.39 libespeak.so.1
39 }
41 clean_wok()
42 {
43 rm -rf $WOK/$PACKAGE/$PACKAGE*
44 }