wok-stable annotate espeak/receipt @ rev 10353
gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:40:19 2011 +0000 (2011-05-22) |
parents | d812f11de370 |
children | b57c98f49e55 |
rev | line source |
---|---|
erjo@1464 | 1 # SliTaz package receipt. |
erjo@1464 | 2 |
erjo@1464 | 3 PACKAGE="espeak" |
slaxemulator@10199 | 4 VERSION="1.45.04" |
pascal@1506 | 5 CATEGORY="misc" |
paul@4888 | 6 SHORT_DESC="Speech synthesizer." |
erjo@1464 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@6313 | 8 DEPENDS="portaudio jack-audio-connection-kit" |
slaxemulator@6313 | 9 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev" |
erjo@1464 | 10 TARBALL="$PACKAGE-$VERSION-source.zip" |
erjo@1464 | 11 WEB_SITE="http://espeak.sourceforge.net/" |
slaxemulator@6313 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 13 TAGS="speech synthesis" |
jozee@4935 | 14 |
erjo@1464 | 15 # Rules to configure and make the package. |
erjo@1464 | 16 compile_rules() |
erjo@1464 | 17 { |
slaxemulator@8299 | 18 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null |
paul@4888 | 19 cd $src/src |
erjo@1464 | 20 |
erjo@1464 | 21 # Using portaudio v19 |
erjo@1464 | 22 cp portaudio19.h portaudio.h |
erjo@1464 | 23 |
paul@4888 | 24 make && make DESTDIR=$src/_pkg install |
erjo@1464 | 25 } |
erjo@1464 | 26 |
erjo@1464 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 28 genpkg_rules() |
erjo@1464 | 29 { |
erjo@1464 | 30 |
paul@4888 | 31 mkdir -p $fs/usr/lib |
paul@4888 | 32 cp -a $_pkg/usr/bin $fs/usr |
paul@4888 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@4888 | 34 cp -a $_pkg/usr/share $fs/usr |
erjo@1464 | 35 |
erjo@1464 | 36 # Make symlink |
slaxemulator@6313 | 37 #cd $fs/usr/lib |
slaxemulator@6313 | 38 #ln -s libespeak.so.1.1.42 libespeak.so.1 |
erjo@1464 | 39 } |
erjo@1464 | 40 |