wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="pulseaudio"
4 VERSION="5.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A sound system for POSIX OSes."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1 GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.pulseaudio.org/"
11 WGET_URL="http://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
13 DEPENDS="libcap libjson-c libsndfile flac libvorbis"
14 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
15 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./bootstrap.sh
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/pulseaudio
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio
36 cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib
37 }