wok-stable view libcanberra/receipt @ rev 11553
Add hardware-thinkpad-600e form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:03 2011 +0100 (2011-12-25) |
parents | a7117fdf01ec |
children |
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 gtk+-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --enable-gtk \
20 $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # We could split package in libcanberra-modules to avoid gstreamer dep.
31 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
32 }