wok-6.x view espeak/receipt @ rev 10303

pkg-config: use TOOLPREFIX like binutils to make cross compilation happy
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 02:12:16 2011 +0200 (2011-05-22)
parents d812f11de370
children b57c98f49e55
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.45.04"
5 CATEGORY="misc"
6 SHORT_DESC="Speech synthesizer."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="portaudio jack-audio-connection-kit"
9 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
10 TARBALL="$PACKAGE-$VERSION-source.zip"
11 WEB_SITE="http://espeak.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="speech synthesis"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
19 cd $src/src
21 # Using portaudio v19
22 cp portaudio19.h portaudio.h
24 make && make DESTDIR=$src/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share $fs/usr
36 # Make symlink
37 #cd $fs/usr/lib
38 #ln -s libespeak.so.1.1.42 libespeak.so.1
39 }