wok-next annotate espeak/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 8940878905f3 |
children |
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" |
al@21020 | 7 MAINTAINER="devel@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@21020 | 15 SPLIT="$PACKAGE-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 |
al@21020 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
erjo@1464 | 26 } |
erjo@1464 | 27 |
al@20462 | 28 genpkg_rules() { |
al@20462 | 29 case $PACKAGE in |
al@20462 | 30 espeak) |
al@20462 | 31 mkdir -p $fs/usr/lib |
al@20462 | 32 cp -a $install/usr/bin $fs/usr |
al@20462 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20462 | 34 cp -a $install/usr/share $fs/usr |
al@20462 | 35 |
al@20462 | 36 # Make symlink |
al@20462 | 37 #cd $fs/usr/lib |
al@20462 | 38 #ln -s libespeak.so.1.1.42 libespeak.so.1 |
al@20462 | 39 DEPENDS="portaudio jack" |
al@20462 | 40 TAGS="speech synthesis" |
al@20462 | 41 ;; |
al@20462 | 42 *-dev) |
al@20462 | 43 mkdir -p $fs/usr/lib |
al@20462 | 44 cp -a $install/usr/lib/*.a* $fs/usr/lib |
al@20462 | 45 cp -a $install/usr/include $fs/usr |
al@20462 | 46 ;; |
al@20462 | 47 esac |
erjo@1464 | 48 } |