wok-next annotate espeak/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | c4e53a39395a |
children | d5aab818505e |
rev | line source |
---|---|
al@20462 | 1 # SliTaz package receipt v2. |
erjo@1464 | 2 |
erjo@1464 | 3 PACKAGE="espeak" |
slaxemulator@11104 | 4 VERSION="1.45.05" |
pascal@1506 | 5 CATEGORY="misc" |
al@20462 | 6 SHORT_DESC="Speech synthesizer" |
erjo@1464 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL3" |
al@20462 | 9 WEB_SITE="http://espeak.sourceforge.net/" |
al@20462 | 10 |
erjo@1464 | 11 TARBALL="$PACKAGE-$VERSION-source.zip" |
slaxemulator@6313 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 13 |
al@20462 | 14 BUILD_DEPENDS="portaudio-dev jack-dev" |
al@20462 | 15 SPLIT="espeak-dev" |
pascal@15588 | 16 |
al@20462 | 17 compile_rules() { |
slaxemulator@8299 | 18 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null |
paul@4888 | 19 cd $src/src |
al@20462 | 20 |
erjo@1464 | 21 # Using portaudio v19 |
erjo@1464 | 22 cp portaudio19.h portaudio.h |
al@20462 | 23 |
pascal@15588 | 24 make && make DESTDIR=$DESTDIR install |
erjo@1464 | 25 } |
erjo@1464 | 26 |
al@20462 | 27 genpkg_rules() { |
al@20462 | 28 case $PACKAGE in |
al@20462 | 29 espeak) |
al@20462 | 30 mkdir -p $fs/usr/lib |
al@20462 | 31 cp -a $install/usr/bin $fs/usr |
al@20462 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20462 | 33 cp -a $install/usr/share $fs/usr |
al@20462 | 34 |
al@20462 | 35 # Make symlink |
al@20462 | 36 #cd $fs/usr/lib |
al@20462 | 37 #ln -s libespeak.so.1.1.42 libespeak.so.1 |
al@20462 | 38 DEPENDS="portaudio jack" |
al@20462 | 39 TAGS="speech synthesis" |
al@20462 | 40 ;; |
al@20462 | 41 *-dev) |
al@20462 | 42 mkdir -p $fs/usr/lib |
al@20462 | 43 cp -a $install/usr/lib/*.a* $fs/usr/lib |
al@20462 | 44 cp -a $install/usr/include $fs/usr |
al@20462 | 45 ;; |
al@20462 | 46 esac |
erjo@1464 | 47 } |