wok-current view espeak/receipt @ rev 24004

Up tazinst (110)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 17 17:23:12 2021 +0000 (2021-01-17)
parents 55031da0f063
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.48.04"
5 CATEGORY="misc"
6 TAGS="speech synthesis"
7 SHORT_DESC="Speech synthesizer."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://espeak.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION-source.zip"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$PACKAGE-${VERSION%.*}/$TARBALL"
16 DEPENDS="portaudio jack-audio-connection-kit"
17 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src/src
25 # Using portaudio v19
26 cp portaudio19.h portaudio.h
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share $fs/usr
41 # Make symlink
42 #cd $fs/usr/lib
43 #ln -s libespeak.so.1.1.42 libespeak.so.1
44 }