wok-next annotate espeak/receipt @ rev 1818

Up: dbus (1.2.4)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Dec 05 17:33:52 2008 +0100 (2008-12-05)
parents 370e6734ab9e
children 206274050160
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="espeak"
erjo@1464 4 VERSION="1.39"
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@1464 12 WGET_URL="http://master.dl.sourceforge.net/sourceforge/espeak/$TARBALL"
erjo@1464 13
erjo@1464 14 # Rules to configure and make the package.
erjo@1464 15 compile_rules()
erjo@1464 16 {
erjo@1464 17 #unzip $TARBALL
erjo@1464 18 cd $src-source/src
erjo@1464 19
erjo@1464 20 # Using portaudio v19
erjo@1464 21 cp portaudio19.h portaudio.h
erjo@1464 22
erjo@1464 23 make
erjo@1464 24 }
erjo@1464 25
erjo@1464 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 27 genpkg_rules()
erjo@1464 28 {
erjo@1464 29
erjo@1464 30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
erjo@1464 31 cp -a $src-source/src/espeak $fs/usr/bin
erjo@1464 32 cp -a $src-source/src/speak $fs/usr/bin
erjo@1464 33 cp -a $src-source/src/*.so* $fs/usr/lib
erjo@1464 34 cp -a $src-source/espeak-data $fs/usr/share
erjo@1464 35
erjo@1464 36 # Make symlink
erjo@1464 37 cd $fs/usr/lib
erjo@1464 38 ln -s libespeak.so.1.1.39 libespeak.so.1
erjo@1464 39 }
erjo@1464 40
erjo@1464 41 clean_wok()
erjo@1464 42 {
erjo@1464 43 rm -rf $WOK/$PACKAGE/$PACKAGE*
erjo@1464 44 }