wok view espeak/receipt @ rev 4888
espeak: enable devel file
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 11:26:23 2010 +0000 (2010-02-06) |
parents | 4014c157f239 |
children | 31c985a0bd3d |
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $src-source $PACKAGE-$VERSION 2>/dev/null
17 cd $src/src
19 # Using portaudio v19
20 cp portaudio19.h portaudio.h
22 make && make DESTDIR=$src/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/share $fs/usr
34 # Make symlink
35 cd $fs/usr/lib
36 ln -s libespeak.so.1.1.42 libespeak.so.1
37 }