wok diff pulseaudio/receipt @ rev 17005
Add pulseaudio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 13:55:28 2014 +0200 (2014-08-12) |
parents | |
children | 154c29d2a3ac |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pulseaudio/receipt Tue Aug 12 13:55:28 2014 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pulseaudio" 1.7 +VERSION="5.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="A sound system for POSIX OSes." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="LGPL2.1 GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.13 +WEB_SITE="http://www.pulseaudio.org/" 1.14 +WGET_URL="http://www.freedesktop.org/software/pulseaudio/releases/$TARBALL" 1.15 + 1.16 +DEPENDS="libcap libjson-c libsndfile flac libvorbis" 1.17 +BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \ 1.18 +libjson-c-dev libsndfile-dev flac-dev libvorbis-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./bootstrap.sh 1.24 + ./configure --prefix=/usr \ 1.25 + --sysconfdir=/etc \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/lib/pulseaudio 1.35 + cp -a $install/etc $fs 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 + cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio 1.39 + cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib 1.40 +}