wok annotate espeak/receipt @ rev 15588
arj: ugly ack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 16:43:36 2013 +0000 (2013-12-02) |
parents | b57c98f49e55 |
children | d6bd3fc6e0bd |
rev | line source |
---|---|
erjo@1464 | 1 # SliTaz package receipt. |
erjo@1464 | 2 |
erjo@1464 | 3 PACKAGE="espeak" |
slaxemulator@11104 | 4 VERSION="1.45.05" |
pascal@1506 | 5 CATEGORY="misc" |
paul@4888 | 6 SHORT_DESC="Speech synthesizer." |
erjo@1464 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL3" |
erjo@1464 | 9 TARBALL="$PACKAGE-$VERSION-source.zip" |
erjo@1464 | 10 WEB_SITE="http://espeak.sourceforge.net/" |
slaxemulator@6313 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 12 TAGS="speech synthesis" |
jozee@4935 | 13 |
pascal@15588 | 14 DEPENDS="portaudio jack-audio-connection-kit" |
pascal@15588 | 15 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev" |
pascal@15588 | 16 |
erjo@1464 | 17 # Rules to configure and make the package. |
erjo@1464 | 18 compile_rules() |
erjo@1464 | 19 { |
slaxemulator@8299 | 20 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null |
paul@4888 | 21 cd $src/src |
erjo@1464 | 22 |
erjo@1464 | 23 # Using portaudio v19 |
erjo@1464 | 24 cp portaudio19.h portaudio.h |
erjo@1464 | 25 |
pascal@15588 | 26 make && make DESTDIR=$DESTDIR install |
erjo@1464 | 27 } |
erjo@1464 | 28 |
erjo@1464 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 30 genpkg_rules() |
erjo@1464 | 31 { |
erjo@1464 | 32 |
paul@4888 | 33 mkdir -p $fs/usr/lib |
pascal@15588 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15588 | 36 cp -a $install/usr/share $fs/usr |
erjo@1464 | 37 |
erjo@1464 | 38 # Make symlink |
slaxemulator@6313 | 39 #cd $fs/usr/lib |
slaxemulator@6313 | 40 #ln -s libespeak.so.1.1.42 libespeak.so.1 |
erjo@1464 | 41 } |
erjo@1464 | 42 |