wok-6.x view espeak/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | b57c98f49e55 |
children | d6bd3fc6e0bd |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION-source.zip"
10 WEB_SITE="http://espeak.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="speech synthesis"
14 DEPENDS="portaudio jack-audio-connection-kit"
15 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
21 cd $src/src
23 # Using portaudio v19
24 cp portaudio19.h portaudio.h
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share $fs/usr
38 # Make symlink
39 #cd $fs/usr/lib
40 #ln -s libespeak.so.1.1.42 libespeak.so.1
41 }