wok-current annotate pulseaudio/receipt @ rev 17317

Add tix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 08:58:28 2014 +0100 (2014-11-04)
parents 5f05e3985675
children 8ed808e48732
rev   line source
pascal@17005 1 # SliTaz package receipt.
pascal@17005 2
pascal@17005 3 PACKAGE="pulseaudio"
pascal@17005 4 VERSION="5.0"
pascal@17005 5 CATEGORY="multimedia"
pascal@17005 6 SHORT_DESC="A sound system for POSIX OSes."
pascal@17005 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17006 8 LICENSE="LGPL2.1 GPL2 MIT"
pascal@17005 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@17005 10 WEB_SITE="http://www.pulseaudio.org/"
pascal@17005 11 WGET_URL="http://www.freedesktop.org/software/pulseaudio/releases/$TARBALL"
pascal@17005 12
pascal@17016 13 DEPENDS="libcap libjson-c libsndfile flac libvorbis dbus gdbm libcap attr \
pascal@17016 14 speex libsamplerate"
pascal@17005 15 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
pascal@17007 16 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
pascal@17007 17 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev"
pascal@17005 18
pascal@17005 19 # Rules to configure and make the package.
pascal@17005 20 compile_rules()
pascal@17005 21 {
pascal@17005 22 ./bootstrap.sh
pascal@17005 23 ./configure --prefix=/usr \
pascal@17005 24 --sysconfdir=/etc \
pascal@17005 25 $CONFIGURE_ARGS &&
pascal@17005 26 make &&
pascal@17007 27 make -j 1 DESTDIR=$DESTDIR install
pascal@17005 28 }
pascal@17005 29
pascal@17005 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17005 31 genpkg_rules()
pascal@17005 32 {
pascal@17005 33 mkdir -p $fs/usr/lib/pulseaudio
pascal@17005 34 cp -a $install/etc $fs
pascal@17005 35 cp -a $install/usr/bin $fs/usr
pascal@17005 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@17005 37 cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio
pascal@17005 38 cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib
pascal@17005 39 }