wok-6.x view espeak/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | e92bbb37285c |
children | fcdd50638150 |
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.45.05"
5 CATEGORY="misc"
6 SHORT_DESC="Speech synthesizer."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="portaudio jack-audio-connection-kit"
9 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
10 TARBALL="$PACKAGE-$VERSION-source.zip"
11 WEB_SITE="http://espeak.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="speech synthesis"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -d $src-source ] && 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 }