wok 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 ade00a9df253
children 94a6af24a504
files espeak-dev/receipt espeak/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/espeak-dev/receipt	Sat Feb 06 11:26:23 2010 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="espeak-dev"
     1.7 +VERSION="1.42.04"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Speech synthesizer devel files."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +WANTED="espeak"
    1.12 +WEB_SITE="http://espeak.sourceforge.net/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/lib/*.a* $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +}
    1.21 +
     2.1 --- a/espeak/receipt	Sat Feb 06 00:49:18 2010 +0100
     2.2 +++ b/espeak/receipt	Sat Feb 06 11:26:23 2010 +0000
     2.3 @@ -3,7 +3,7 @@
     2.4  PACKAGE="espeak"
     2.5  VERSION="1.42.04"
     2.6  CATEGORY="misc"
     2.7 -SHORT_DESC="Speech synthesizer"
     2.8 +SHORT_DESC="Speech synthesizer."
     2.9  MAINTAINER="erjo@slitaz.org"
    2.10  DEPENDS="portaudio"
    2.11  BUILD_DEPENDS="portaudio-dev"
    2.12 @@ -13,31 +13,26 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 -	#unzip  $TARBALL
    2.17 -	cd  $src-source/src
    2.18 +	mv  $src-source $PACKAGE-$VERSION 2>/dev/null
    2.19 +	cd $src/src
    2.20  	
    2.21  	# Using portaudio v19
    2.22  	cp portaudio19.h portaudio.h
    2.23  	
    2.24 -	make 
    2.25 +	make && make DESTDIR=$src/_pkg install
    2.26  }
    2.27  
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31  	
    2.32 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    2.33 -	cp -a $src-source/src/espeak $fs/usr/bin
    2.34 -	cp -a $src-source/src/speak $fs/usr/bin
    2.35 -	cp -a $src-source/src/*.so* $fs/usr/lib
    2.36 -	cp -a $src-source/espeak-data $fs/usr/share
    2.37 +	mkdir -p $fs/usr/lib
    2.38 +	cp -a $_pkg/usr/bin $fs/usr
    2.39 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.40 +	cp -a $_pkg/usr/share $fs/usr
    2.41  	
    2.42  	# Make symlink
    2.43  	cd $fs/usr/lib
    2.44  	ln -s libespeak.so.1.1.42 libespeak.so.1
    2.45  }
    2.46  
    2.47 -clean_wok()
    2.48 -{
    2.49 -	rm -rf $WOK/$PACKAGE/$PACKAGE*
    2.50 -}