wok-current view libcanberra/receipt @ rev 12416
Up and improve lxde meta package (we have now lxde-session and lxde-logout script)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:25:24 2012 +0200 (2012-04-20) |
parents | e3189f0b7a11 |
children | b3dc4f05cd0f |
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"
11 DEPENDS="libvorbis libogg gstreamer alsa-lib"
12 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala \
13 gtk+-dev libtool glib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-gtk \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 # We could split package in libcanberra-modules to avoid gstreamer dep.
32 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
33 }