wok-6.x rev 1464

Add: portaudio, portaudio-dev espeak.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Oct 04 10:52:14 2008 +0200 (2008-10-04)
parents 3b5f5f0ff01e
children c1ff74d9b6f4
files espeak/receipt portaudio-dev/receipt portaudio/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/espeak/receipt	Sat Oct 04 10:52:14 2008 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="espeak"
     1.7 +VERSION="1.39"
     1.8 +CATEGORY="extras"
     1.9 +SHORT_DESC="Speech synthesizer"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="portaudio"
    1.12 +BUILD_DEPENDS="portaudio-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION-source.zip"
    1.14 +WEB_SITE="http://espeak.sourceforge.net/"
    1.15 +WGET_URL="http://master.dl.sourceforge.net/sourceforge/espeak/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	#unzip  $TARBALL
    1.21 +	cd  $src-source/src
    1.22 +	
    1.23 +	# Using portaudio v19
    1.24 +	cp portaudio19.h portaudio.h
    1.25 +	
    1.26 +	make 
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	
    1.33 +	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.34 +	cp -a $src-source/src/espeak $fs/usr/bin
    1.35 +	cp -a $src-source/src/speak $fs/usr/bin
    1.36 +	cp -a $src-source/src/*.so* $fs/usr/lib
    1.37 +	cp -a $src-source/espeak-data $fs/usr/share
    1.38 +	
    1.39 +	# Make symlink
    1.40 +	cd $fs/usr/lib
    1.41 +	ln -s libespeak.so.1.1.39 libespeak.so.1
    1.42 +}
    1.43 +
    1.44 +clean_wok()
    1.45 +{
    1.46 +	rm -rf $WOK/$PACKAGE/$PACKAGE*
    1.47 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/portaudio-dev/receipt	Sat Oct 04 10:52:14 2008 +0200
     2.3 @@ -0,0 +1,26 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="portaudio-dev"
     2.7 +VERSION="v19"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Portaudio dev files."
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +DEPENDS="portaudio"
    2.12 +SOURCE="pa_stable"
    2.13 +EXTRAVERSION="_20071207"
    2.14 +TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.tar.gz"
    2.15 +WEB_SITE="http://www.portaudio.com/"
    2.16 +WANTED="portaudio"
    2.17 +
    2.18 +
    2.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.20 +genpkg_rules()
    2.21 +{
    2.22 +	_pkg=$WOK/$WANTED/$WANTED/_pkg
    2.23 +		
    2.24 +	mkdir -p $fs/usr/lib
    2.25 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    2.26 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    2.27 +	cp -a $_pkg/usr/include $fs/usr
    2.28 +}
    2.29 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/portaudio/receipt	Sat Oct 04 10:52:14 2008 +0200
     3.3 @@ -0,0 +1,46 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="portaudio"
     3.7 +VERSION="v19"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="A portable cross-platform audio API"
    3.10 +MAINTAINER="erjo@slitaz.org"
    3.11 +DEPENDS=""
    3.12 +SOURCE="pa_stable"
    3.13 +EXTRAVERSION="_20071207"
    3.14 +TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.tar.gz"
    3.15 +WEB_SITE="http://www.portaudio.com/"
    3.16 +WGET_URL="http://www.portaudio.com/archives/$TARBALL"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	src=$PACKAGE
    3.22 +	cd  $src
    3.23 +	./configure --prefix=/usr \
    3.24 +		--infodir=/usr/share/info \
    3.25 +		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    3.26 +	make &&
    3.27 +	make DESTDIR=$PWD/_pkg install
    3.28 +}
    3.29 +
    3.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.31 +genpkg_rules()
    3.32 +{
    3.33 +	_pkg=$WOK/$PACKAGE/$PACKAGE/_pkg
    3.34 +	
    3.35 +	mkdir -p $fs/usr/lib
    3.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.37 +	
    3.38 +	# Package all pkgs
    3.39 +	for i in $(cd $WOK; ls -d $PACKAGE-*)
    3.40 +	do
    3.41 +		tazwok genpkg $i
    3.42 +	done
    3.43 +}
    3.44 +
    3.45 +clean_wok()
    3.46 +{
    3.47 +	rm -rf $WOK/$PACKAGE
    3.48 +}
    3.49 +