wok view espeak/receipt @ rev 5893

compcache: fix build with kernel 2.6.34
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 22 23:03:19 2010 +0200 (2010-07-22)
parents efdb1ea41532
children 7e035a7d0208
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 TAGS="speech synthesis"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $src-source $PACKAGE-$VERSION 2>/dev/null
19 cd $src/src
21 # Using portaudio v19
22 cp portaudio19.h portaudio.h
24 make && make DESTDIR=$src/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share $fs/usr
36 # Make symlink
37 cd $fs/usr/lib
38 ln -s libespeak.so.1.1.42 libespeak.so.1
39 }