wok-current annotate espeak/receipt @ rev 4888
espeak: enable devel file
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 11:26:23 2010 +0000 (2010-02-06) |
parents | 4014c157f239 |
children | 31c985a0bd3d |
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" |
erjo@1464 | 13 # Rules to configure and make the package. |
erjo@1464 | 14 compile_rules() |
erjo@1464 | 15 { |
paul@4888 | 16 mv $src-source $PACKAGE-$VERSION 2>/dev/null |
paul@4888 | 17 cd $src/src |
erjo@1464 | 18 |
erjo@1464 | 19 # Using portaudio v19 |
erjo@1464 | 20 cp portaudio19.h portaudio.h |
erjo@1464 | 21 |
paul@4888 | 22 make && make DESTDIR=$src/_pkg install |
erjo@1464 | 23 } |
erjo@1464 | 24 |
erjo@1464 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1464 | 26 genpkg_rules() |
erjo@1464 | 27 { |
erjo@1464 | 28 |
paul@4888 | 29 mkdir -p $fs/usr/lib |
paul@4888 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@4888 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@4888 | 32 cp -a $_pkg/usr/share $fs/usr |
erjo@1464 | 33 |
erjo@1464 | 34 # Make symlink |
erjo@1464 | 35 cd $fs/usr/lib |
erjo@4747 | 36 ln -s libespeak.so.1.1.42 libespeak.so.1 |
erjo@1464 | 37 } |
erjo@1464 | 38 |