wok-next view espeak/receipt @ rev 1954

nscd: add /usr/bin/getent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 30 14:40:42 2008 +0000 (2008-12-30)
parents 370e6734ab9e
children 206274050160
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.39"
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 }