wok-next view espeak/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 8940878905f3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="espeak"
4 VERSION="1.45.05"
5 CATEGORY="misc"
6 SHORT_DESC="Speech synthesizer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://espeak.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION-source.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="portaudio-dev jack-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
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 &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 espeak)
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/share $fs/usr
36 # Make symlink
37 #cd $fs/usr/lib
38 #ln -s libespeak.so.1.1.42 libespeak.so.1
39 DEPENDS="portaudio jack"
40 TAGS="speech synthesis"
41 ;;
42 *-dev)
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.a* $fs/usr/lib
45 cp -a $install/usr/include $fs/usr
46 ;;
47 esac
48 }