wok annotate libcanberra/receipt @ rev 23440

linux-zram: autostart
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 12:22:43 2020 +0200 (2020-04-02)
parents 1cc280bf4541
children 3e2a0347b2f1
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
devl547@5629 17 # Rules to configure and make the package.
devl547@5629 18 compile_rules()
devl547@5629 19 {
devl547@5629 20 ./configure \
devl547@5629 21 --enable-gtk \
devl547@5629 22 $CONFIGURE_ARGS &&
devl547@5629 23 make &&
pascal@18405 24 make -j 1 install
devl547@5629 25 }
devl547@5629 26
devl547@5629 27 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5629 28 genpkg_rules()
devl547@5629 29 {
devl547@5629 30 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
pascal@15472 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@5629 32 # We could split package in libcanberra-modules to avoid gstreamer dep.
pascal@15472 33 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION
devl547@5629 34 }