wok-6.x view pulseaudio/receipt @ rev 19200

gucharmap-dev: fix packaging too
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 01:02:19 2016 +0300 (2016-06-09)
parents e6eab2a29e8b
children 7f233a31ffe2
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 MIT"
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 dbus gdbm libcap attr \
14 speex libsamplerate"
15 BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \
16 libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-uuid-dev \
17 dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./bootstrap.sh
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make -j 1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/pulseaudio
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio
38 cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib
39 rm -fr $fs/etc/dbus-1
40 }