wok view espeak/receipt @ rev 25538
get-java8-jre: get version 8u361 by default
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 03 17:41:58 2023 +0100 (21 months ago) |
parents | 640a2eba2511 |
children | 20ad21d5532c |
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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }