wok-current view libcanberra/receipt @ rev 21116

Up reiserfsprogs (3.6.27)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 19:34:17 2019 +0100 (2019-03-19)
parents 1cc280bf4541
children 3e2a0347b2f1
line source
1 # SliTaz package receipt.
3 PACKAGE="libcanberra"
4 VERSION="0.30"
5 CATEGORY="development"
6 SHORT_DESC="Portable Sound Event Library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libvorbis libogg gstreamer alsa-lib gtk+"
14 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev \
15 libtool gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-gtk \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j 1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 # We could split package in libcanberra-modules to avoid gstreamer dep.
33 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
34 }