wok-4.x annotate espeak/receipt @ rev 5950

avidemux: fix build for gcc45 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 03 17:01:20 2010 +0200 (2010-08-03)
parents efdb1ea41532
children 7e035a7d0208
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="espeak"
erjo@4747 4 VERSION="1.42.04"
pascal@1506 5 CATEGORY="misc"
paul@4888 6 SHORT_DESC="Speech synthesizer."
erjo@1464 7 MAINTAINER="erjo@slitaz.org"
erjo@1464 8 DEPENDS="portaudio"
erjo@1464 9 BUILD_DEPENDS="portaudio-dev"
erjo@1464 10 TARBALL="$PACKAGE-$VERSION-source.zip"
erjo@1464 11 WEB_SITE="http://espeak.sourceforge.net/"
erjo@4747 12 WGET_URL="http://sourceforge.net/projects/espeak/files/espeak/$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 {
paul@4888 18 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
erjo@1464 37 cd $fs/usr/lib
erjo@4747 38 ln -s libespeak.so.1.1.42 libespeak.so.1
erjo@1464 39 }
erjo@1464 40