wok view libcanberra/receipt @ rev 16378
Add: ntk + non-studio
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 02:04:52 2014 +0200 (2014-04-15) |
parents | fa0c774e9da5 |
children | de0131b4edeb |
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libvorbis libogg gstreamer alsa-lib glib libgio"
14 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala \
15 gtk+-dev libtool glib-dev libgio-dev libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-gtk \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # We could split package in libcanberra-modules to avoid gstreamer dep.
34 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
35 }