wok-6.x view espeak/receipt @ rev 24960

updated ncurses packages (6.2 -> 6.3)
author Hans-G?nter Theisgen
date Sat Apr 23 17:46:30 2022 +0100 (2022-04-23)
parents e6a4cd87fdcb
children 362a5a98467f
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/espeak/files/espeak/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;/-source/!d;s|.*espeak-.*espeak-||;s|-source.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src/src
33 # Using portaudio v19
34 cp portaudio19.h portaudio.h
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share $fs/usr
49 # Make symlink
50 #cd $fs/usr/lib
51 #ln -s libespeak.so.1.1.42 libespeak.so.1
52 }