wok-6.x view libcanberra/receipt @ rev 18287

yuyo-gtk-theme: update version
author yuripourre
date Tue Aug 11 10:05:04 2015 -0400 (2015-08-11)
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 }