wok-4.x annotate 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
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="espeak"
erjo@4747 4 VERSION="1.42.04"
pascal@1506 5 CATEGORY="misc"
erjo@1464 6 SHORT_DESC="Speech synthesizer"
erjo@1464 7 MAINTAINER="erjo@slitaz.org"
erjo@1464 8 DEPENDS="portaudio"
erjo@1464 9 BUILD_DEPENDS="portaudio-dev"
erjo@1464 10 TARBALL="$PACKAGE-$VERSION-source.zip"
erjo@1464 11 WEB_SITE="http://espeak.sourceforge.net/"
erjo@4747 12 WGET_URL="http://sourceforge.net/projects/espeak/files/espeak/$TARBALL"
erjo@1464 13 # Rules to configure and make the package.
erjo@1464 14 compile_rules()
erjo@1464 15 {
erjo@1464 16 #unzip $TARBALL
erjo@1464 17 cd $src-source/src
erjo@1464 18
erjo@1464 19 # Using portaudio v19
erjo@1464 20 cp portaudio19.h portaudio.h
erjo@1464 21
erjo@1464 22 make
erjo@1464 23 }
erjo@1464 24
erjo@1464 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 26 genpkg_rules()
erjo@1464 27 {
erjo@1464 28
erjo@1464 29 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
erjo@1464 30 cp -a $src-source/src/espeak $fs/usr/bin
erjo@1464 31 cp -a $src-source/src/speak $fs/usr/bin
erjo@1464 32 cp -a $src-source/src/*.so* $fs/usr/lib
erjo@1464 33 cp -a $src-source/espeak-data $fs/usr/share
erjo@1464 34
erjo@1464 35 # Make symlink
erjo@1464 36 cd $fs/usr/lib
erjo@4747 37 ln -s libespeak.so.1.1.42 libespeak.so.1
erjo@1464 38 }
erjo@1464 39
erjo@1464 40 clean_wok()
erjo@1464 41 {
erjo@1464 42 rm -rf $WOK/$PACKAGE/$PACKAGE*
erjo@1464 43 }