wok annotate espeak/receipt @ rev 21810

Add python-cffi, python-cparser & python-cryptography
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 18:44:53 2019 +0200 (2019-08-17)
parents 45543b1af36a
children e6a4cd87fdcb
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
erjo@1464 20 # Rules to configure and make the package.
erjo@1464 21 compile_rules()
erjo@1464 22 {
slaxemulator@8299 23 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
paul@4888 24 cd $src/src
erjo@1464 25
erjo@1464 26 # Using portaudio v19
erjo@1464 27 cp portaudio19.h portaudio.h
erjo@1464 28
Hans-G?nter@20889 29 make -j 1 &&
Hans-G?nter@20889 30 make DESTDIR=$DESTDIR install
erjo@1464 31 }
erjo@1464 32
erjo@1464 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 34 genpkg_rules()
erjo@1464 35 {
erjo@1464 36
paul@4888 37 mkdir -p $fs/usr/lib
pascal@15588 38 cp -a $install/usr/bin $fs/usr
pascal@15588 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15588 40 cp -a $install/usr/share $fs/usr
erjo@1464 41
erjo@1464 42 # Make symlink
slaxemulator@6313 43 #cd $fs/usr/lib
slaxemulator@6313 44 #ln -s libespeak.so.1.1.42 libespeak.so.1
erjo@1464 45 }