wok-current view espeak/receipt @ rev 4747

Up: espeak (1.42.04)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 08 12:20:47 2010 +0100 (2010-01-08)
parents 0304f47888d1
children efdb1ea41532
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.42.04"
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://sourceforge.net/projects/espeak/files/espeak/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 #unzip $TARBALL
17 cd $src-source/src
19 # Using portaudio v19
20 cp portaudio19.h portaudio.h
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
29 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
30 cp -a $src-source/src/espeak $fs/usr/bin
31 cp -a $src-source/src/speak $fs/usr/bin
32 cp -a $src-source/src/*.so* $fs/usr/lib
33 cp -a $src-source/espeak-data $fs/usr/share
35 # Make symlink
36 cd $fs/usr/lib
37 ln -s libespeak.so.1.1.42 libespeak.so.1
38 }
40 clean_wok()
41 {
42 rm -rf $WOK/$PACKAGE/$PACKAGE*
43 }