wok-current view libcanberra/receipt @ rev 14415

emotion-dev: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 19:17:27 2013 +0200 (2013-04-23)
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 }