wok-6.x view libcanberra/receipt @ rev 15007

connman: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 10:21:02 2013 +0000 (2013-08-11)
parents b3dc4f05cd0f
children 6c3718ca17b6
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 libxml2-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 }