wok annotate libcanberra/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 1d017e1c3866
children
rev   line source
devl547@5629 1 # SliTaz package receipt.
devl547@5629 2
devl547@5629 3 PACKAGE="libcanberra"
devl547@17612 4 VERSION="0.30"
devl547@5629 5 CATEGORY="development"
devl547@5629 6 SHORT_DESC="Portable Sound Event Library"
devl547@5629 7 MAINTAINER="devl547@gmail.com"
pascal@15472 8 LICENSE="LGPL2.1"
devl547@17612 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
devl547@5629 10 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/"
devl547@5629 11 WGET_URL="$WEB_SITE/$TARBALL"
pankso@12474 12
devl547@17612 13 DEPENDS="libvorbis libogg gstreamer alsa-lib gtk+"
devl547@17612 14 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev \
devl547@17612 15 libtool gtk+-dev"
devl547@5629 16
pascal@24074 17 current_version()
pascal@24074 18 {
pascal@24074 19 wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \
pascal@24074 20 sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q'
pascal@24074 21 }
pascal@24074 22
devl547@5629 23 # Rules to configure and make the package.
devl547@5629 24 compile_rules()
devl547@5629 25 {
devl547@5629 26 ./configure \
devl547@5629 27 --enable-gtk \
devl547@5629 28 $CONFIGURE_ARGS &&
devl547@5629 29 make &&
pascal@18405 30 make -j 1 install
devl547@5629 31 }
devl547@5629 32
devl547@5629 33 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5629 34 genpkg_rules()
devl547@5629 35 {
devl547@5629 36 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
pascal@15472 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@5629 38 # We could split package in libcanberra-modules to avoid gstreamer dep.
pascal@15472 39 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
devl547@5629 40 }