wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/espeak/receipt Sat Oct 04 10:52:14 2008 +0200 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="espeak" 1.7 +VERSION="1.39" 1.8 +CATEGORY="extras" 1.9 +SHORT_DESC="Speech synthesizer" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="portaudio" 1.12 +BUILD_DEPENDS="portaudio-dev" 1.13 +TARBALL="$PACKAGE-$VERSION-source.zip" 1.14 +WEB_SITE="http://espeak.sourceforge.net/" 1.15 +WGET_URL="http://master.dl.sourceforge.net/sourceforge/espeak/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + #unzip $TARBALL 1.21 + cd $src-source/src 1.22 + 1.23 + # Using portaudio v19 1.24 + cp portaudio19.h portaudio.h 1.25 + 1.26 + make 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + 1.33 + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share 1.34 + cp -a $src-source/src/espeak $fs/usr/bin 1.35 + cp -a $src-source/src/speak $fs/usr/bin 1.36 + cp -a $src-source/src/*.so* $fs/usr/lib 1.37 + cp -a $src-source/espeak-data $fs/usr/share 1.38 + 1.39 + # Make symlink 1.40 + cd $fs/usr/lib 1.41 + ln -s libespeak.so.1.1.39 libespeak.so.1 1.42 +} 1.43 + 1.44 +clean_wok() 1.45 +{ 1.46 + rm -rf $WOK/$PACKAGE/$PACKAGE* 1.47 +}