wok diff portaudio/receipt @ rev 1481

update BUILD_DEPENDS for easytag gnome-doc-utils libglade libgnomeprint libsexy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 19:30:08 2008 +0000 (2008-10-04)
parents
children 3d99ecce2d4b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/portaudio/receipt	Sat Oct 04 19:30:08 2008 +0000
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="portaudio"
     1.7 +VERSION="v19"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="A portable cross-platform audio API"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +SOURCE="pa_stable"
    1.13 +EXTRAVERSION="_20071207"
    1.14 +TARBALL="${SOURCE}_${VERSION}${EXTRAVERSION}.tar.gz"
    1.15 +WEB_SITE="http://www.portaudio.com/"
    1.16 +WGET_URL="http://www.portaudio.com/archives/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	src=$PACKAGE
    1.22 +	cd  $src
    1.23 +	./configure --prefix=/usr \
    1.24 +		--infodir=/usr/share/info \
    1.25 +		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	_pkg=$WOK/$PACKAGE/$PACKAGE/_pkg
    1.34 +	
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	
    1.38 +	# Package all pkgs
    1.39 +	for i in $(cd $WOK; ls -d $PACKAGE-*)
    1.40 +	do
    1.41 +		tazwok genpkg $i
    1.42 +	done
    1.43 +}
    1.44 +
    1.45 +clean_wok()
    1.46 +{
    1.47 +	rm -rf $WOK/$PACKAGE
    1.48 +}
    1.49 +