wok view libcanberra/receipt @ rev 17817
xmlto: update bdeps
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 13:55:39 2015 -0300 (2015-03-21) |
parents | de0131b4edeb |
children | 1d017e1c3866 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcanberra"
4 VERSION="0.30"
5 CATEGORY="development"
6 SHORT_DESC="Portable Sound Event Library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="libvorbis libogg gstreamer alsa-lib gtk+"
14 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev \
15 libtool gtk+-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 }