wok-next annotate libcanberra/receipt @ rev 16091
Up xine-lib (1.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 16 10:04:50 2014 +0000 (2014-03-16) |
parents | fa0c774e9da5 |
children | de0131b4edeb |
rev | line source |
---|---|
devl547@5629 | 1 # SliTaz package receipt. |
devl547@5629 | 2 |
devl547@5629 | 3 PACKAGE="libcanberra" |
slaxemulator@10159 | 4 VERSION="0.28" |
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@5629 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@5629 | 10 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/" |
devl547@5629 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@12474 | 12 |
pankso@12474 | 13 DEPENDS="libvorbis libogg gstreamer alsa-lib glib libgio" |
pascal@12395 | 14 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala \ |
pascal@12950 | 15 gtk+-dev libtool glib-dev libgio-dev libxml2-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 cd $src |
devl547@5629 | 21 ./configure \ |
devl547@5629 | 22 --enable-gtk \ |
devl547@5629 | 23 $CONFIGURE_ARGS && |
devl547@5629 | 24 make && |
slaxemulator@10159 | 25 make install |
devl547@5629 | 26 } |
devl547@5629 | 27 |
devl547@5629 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5629 | 29 genpkg_rules() |
devl547@5629 | 30 { |
devl547@5629 | 31 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION |
pascal@15472 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@5629 | 33 # We could split package in libcanberra-modules to avoid gstreamer dep. |
pascal@15472 | 34 cp -a $install/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION |
devl547@5629 | 35 } |