wok view libcanberra/receipt @ rev 12800

add libdrm-nouveau
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 11:44:17 2012 +0200 (2012-05-18)
parents 26a3881f0035
children fa0c774e9da5
line source
1 # SliTaz package receipt.
3 PACKAGE="libcanberra"
4 VERSION="0.28"
5 CATEGORY="development"
6 SHORT_DESC="Portable Sound Event Library"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 DEPENDS="libvorbis libogg gstreamer alsa-lib glib libgio"
13 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala \
14 gtk+-dev libtool glib-dev libgio-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-gtk \
22 $CONFIGURE_ARGS &&
23 make &&
24 make 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 $_pkg/usr/lib/*.so* $fs/usr/lib
32 # We could split package in libcanberra-modules to avoid gstreamer dep.
33 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
34 }