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

linux: ethernet drivers as modules
author Richard Dunbar <mojo@slitaz.org>
date Wed Mar 25 01:55:02 2015 -0400 (2015-03-25)
parents fcdd50638150
children a4d7cdc4c433
line source
1 # SliTaz package receipt.
3 PACKAGE="espeak"
4 VERSION="1.45.05"
5 CATEGORY="misc"
6 SHORT_DESC="Speech synthesizer."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION-source.zip"
10 WEB_SITE="http://espeak.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="speech synthesis"
13 HOST_ARCH="i486 arm"
15 DEPENDS="portaudio jack-audio-connection-kit"
16 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
22 cd $src/src
24 # Using portaudio v19
25 cp portaudio19.h portaudio.h
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share $fs/usr
39 # Make symlink
40 #cd $fs/usr/lib
41 #ln -s libespeak.so.1.1.42 libespeak.so.1
42 }