wok annotate espeak/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | e6a4cd87fdcb |
children | 362a5a98467f |
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" |
Hans-G?nter@20889 | 10 WEB_SITE="https://espeak.sourceforge.io/" |
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@24385 | 23 wget -O - https://sourceforge.net/projects/espeak/files/espeak/ 2>/dev/null | \ |
pascal@24385 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 25 sed '/scope="row/!d;/-source/!d;s|.*espeak-.*espeak-||;s|-source.*||;q' |
pascal@24385 | 26 } |
pascal@24385 | 27 |
erjo@1464 | 28 # Rules to configure and make the package. |
erjo@1464 | 29 compile_rules() |
erjo@1464 | 30 { |
paul@4888 | 31 cd $src/src |
erjo@1464 | 32 |
erjo@1464 | 33 # Using portaudio v19 |
erjo@1464 | 34 cp portaudio19.h portaudio.h |
erjo@1464 | 35 |
Hans-G?nter@20889 | 36 make -j 1 && |
Hans-G?nter@20889 | 37 make DESTDIR=$DESTDIR install |
erjo@1464 | 38 } |
erjo@1464 | 39 |
erjo@1464 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 41 genpkg_rules() |
erjo@1464 | 42 { |
erjo@1464 | 43 |
paul@4888 | 44 mkdir -p $fs/usr/lib |
pascal@15588 | 45 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15588 | 47 cp -a $install/usr/share $fs/usr |
erjo@1464 | 48 |
erjo@1464 | 49 # Make symlink |
slaxemulator@6313 | 50 #cd $fs/usr/lib |
slaxemulator@6313 | 51 #ln -s libespeak.so.1.1.42 libespeak.so.1 |
erjo@1464 | 52 } |