wok-next annotate espeak/receipt @ rev 19593

Up slitaz-base-files (322).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 16:34:14 2017 +0200 (2017-01-21)
parents fcdd50638150
children fb478984fbc8
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="espeak"
slaxemulator@11104 4 VERSION="1.45.05"
pascal@1506 5 CATEGORY="misc"
paul@4888 6 SHORT_DESC="Speech synthesizer."
erjo@1464 7 MAINTAINER="erjo@slitaz.org"
pascal@15588 8 LICENSE="GPL3"
erjo@1464 9 TARBALL="$PACKAGE-$VERSION-source.zip"
erjo@1464 10 WEB_SITE="http://espeak.sourceforge.net/"
slaxemulator@6313 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4935 12 TAGS="speech synthesis"
pankso@16581 13 HOST_ARCH="i486 arm"
jozee@4935 14
pascal@15588 15 DEPENDS="portaudio jack-audio-connection-kit"
pascal@15588 16 BUILD_DEPENDS="$DEPENDS portaudio-dev jack-audio-connection-kit-dev"
pascal@15588 17
erjo@1464 18 # Rules to configure and make the package.
erjo@1464 19 compile_rules()
erjo@1464 20 {
slaxemulator@8299 21 [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
paul@4888 22 cd $src/src
erjo@1464 23
erjo@1464 24 # Using portaudio v19
erjo@1464 25 cp portaudio19.h portaudio.h
erjo@1464 26
pascal@15588 27 make && make DESTDIR=$DESTDIR install
erjo@1464 28 }
erjo@1464 29
erjo@1464 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 31 genpkg_rules()
erjo@1464 32 {
erjo@1464 33
paul@4888 34 mkdir -p $fs/usr/lib
pascal@15588 35 cp -a $install/usr/bin $fs/usr
pascal@15588 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15588 37 cp -a $install/usr/share $fs/usr
erjo@1464 38
erjo@1464 39 # Make symlink
slaxemulator@6313 40 #cd $fs/usr/lib
slaxemulator@6313 41 #ln -s libespeak.so.1.1.42 libespeak.so.1
erjo@1464 42 }
erjo@1464 43