wok annotate libcanberra/receipt @ rev 15112
Add some -Wno-error=unused-but-set-variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 21:14:37 2013 +0000 (2013-08-14) |
parents | b3dc4f05cd0f |
children | 6c3718ca17b6 |
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" |
devl547@5629 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@5629 | 9 WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/" |
devl547@5629 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@12474 | 11 |
pankso@12474 | 12 DEPENDS="libvorbis libogg gstreamer alsa-lib glib libgio" |
pascal@12395 | 13 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala \ |
pascal@12950 | 14 gtk+-dev libtool glib-dev libgio-dev libxml2-dev" |
devl547@5629 | 15 |
devl547@5629 | 16 # Rules to configure and make the package. |
devl547@5629 | 17 compile_rules() |
devl547@5629 | 18 { |
devl547@5629 | 19 cd $src |
devl547@5629 | 20 ./configure \ |
devl547@5629 | 21 --enable-gtk \ |
devl547@5629 | 22 $CONFIGURE_ARGS && |
devl547@5629 | 23 make && |
slaxemulator@10159 | 24 make 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 |
devl547@5629 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
devl547@5629 | 32 # We could split package in libcanberra-modules to avoid gstreamer dep. |
devl547@5629 | 33 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION |
devl547@5629 | 34 } |