wok-backports diff pulseaudio/receipt @ rev 55
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 17:46:33 2019 +0100 (2019-02-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pulseaudio/receipt Wed Feb 27 17:46:33 2019 +0100 1.3 @@ -0,0 +1,40 @@ 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 MIT" 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 dbus gdbm libcap attr \ 1.17 +speex libsamplerate" 1.18 +BUILD_DEPENDS="pkg-config libtool automake autoconf intltool m4 libcap-dev \ 1.19 +libjson-c-dev libsndfile-dev flac-dev libvorbis-dev util-linux-ng-uuid-dev \ 1.20 +dbus-dev speex-dev udev-dev libsamplerate-dev alsa-lib-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + ./bootstrap.sh 1.26 + ./configure --prefix=/usr \ 1.27 + --sysconfdir=/etc \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make -j 1 DESTDIR=$DESTDIR install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/lib/pulseaudio 1.37 + cp -a $install/etc $fs 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 + cp -a $install/usr/lib/pulseaudio/*.so* $fs/usr/lib/pulseaudio 1.41 + cp -a $install/usr/lib/pulse-$VERSION $fs/usr/lib 1.42 + rm -fr $fs/etc/dbus-1 1.43 +}