wok-next view espeak/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }