wok view espeak/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (9 months ago) |
parents | 362a5a98467f |
children |
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://github.com/espeak-ng/espeak-ng"
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/espeak-ng/espeak-ng/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src/src
32 # Using portaudio v19
33 cp portaudio19.h portaudio.h
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/share $fs/usr
48 # Make symlink
49 #cd $fs/usr/lib
50 #ln -s libespeak.so.1.1.42 libespeak.so.1
51 }