wok annotate espeak/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (15 months ago)
parents 640a2eba2511
children 20ad21d5532c
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="espeak"
Hans-G?nter@20889 4 VERSION="1.48.04"
pascal@1506 5 CATEGORY="misc"
Hans-G?nter@20889 6 TAGS="speech synthesis"
paul@4888 7 SHORT_DESC="Speech synthesizer."
erjo@1464 8 MAINTAINER="erjo@slitaz.org"
pascal@15588 9 LICENSE="GPL3"
pascal@25476 10 WEB_SITE="https://github.com/espeak-ng/espeak-ng"
Hans-G?nter@20889 11
erjo@1464 12 TARBALL="$PACKAGE-$VERSION-source.zip"
Hans-G?nter@20889 13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@20894 14 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$PACKAGE-${VERSION%.*}/$TARBALL"
jozee@4935 15
pascal@15588 16 DEPENDS="portaudio jack-audio-connection-kit"
pascal@15588 17 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
Hans-G?nter@20889 18 HOST_ARCH="i486 arm"
pascal@15588 19
pascal@24385 20 # What is the latest version available today?
pascal@24385 21 current_version()
pascal@24385 22 {
pascal@25476 23 wget -O - https://github.com/espeak-ng/espeak-ng/releases 2>/dev/null | \
pascal@25476 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24385 25 }
pascal@24385 26
erjo@1464 27 # Rules to configure and make the package.
erjo@1464 28 compile_rules()
erjo@1464 29 {
paul@4888 30 cd $src/src
erjo@1464 31
erjo@1464 32 # Using portaudio v19
erjo@1464 33 cp portaudio19.h portaudio.h
erjo@1464 34
Hans-G?nter@20889 35 make -j 1 &&
Hans-G?nter@20889 36 make DESTDIR=$DESTDIR install
erjo@1464 37 }
erjo@1464 38
erjo@1464 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 40 genpkg_rules()
erjo@1464 41 {
erjo@1464 42
paul@4888 43 mkdir -p $fs/usr/lib
pascal@15588 44 cp -a $install/usr/bin $fs/usr
pascal@15588 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15588 46 cp -a $install/usr/share $fs/usr
erjo@1464 47
erjo@1464 48 # Make symlink
slaxemulator@6313 49 #cd $fs/usr/lib
slaxemulator@6313 50 #ln -s libespeak.so.1.1.42 libespeak.so.1
erjo@1464 51 }