wok view libcanberra/receipt @ rev 25008

updated nzbget and nzbget-webui (21.0 -> 21.1)
author Hans-G?nter Theisgen
date Mon May 16 17:06:58 2022 +0100 (2022-05-16)
parents 1d017e1c3866
children
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 current_version()
18 {
19 wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \
20 sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --enable-gtk \
28 $CONFIGURE_ARGS &&
29 make &&
30 make -j 1 install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 # We could split package in libcanberra-modules to avoid gstreamer dep.
39 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
40 }