wok-6.x annotate libcanberra/receipt @ rev 9014
Up: libcanberra to 0.26.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 13:08:49 2011 +0000 (2011-03-03) |
parents | a0ef91b8d352 |
children | e3189f0b7a11 |
rev | line source |
---|---|
devl547@5629 | 1 # SliTaz package receipt. |
devl547@5629 | 2 |
devl547@5629 | 3 PACKAGE="libcanberra" |
slaxemulator@9014 | 4 VERSION="0.26" |
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" |
devl547@5629 | 11 DEPENDS="libvorbis libogg gstreamer alsa-lib" |
pascal@8939 | 12 BUILD_DEPENDS="libvorbis-dev libogg-dev gstreamer-dev alsa-lib-dev vala gtk+-dev" |
devl547@5629 | 13 |
devl547@5629 | 14 # Rules to configure and make the package. |
devl547@5629 | 15 compile_rules() |
devl547@5629 | 16 { |
devl547@5629 | 17 cd $src |
devl547@5629 | 18 ./configure \ |
devl547@5629 | 19 --prefix=/usr \ |
devl547@5629 | 20 --enable-gtk \ |
devl547@5629 | 21 $CONFIGURE_ARGS && |
devl547@5629 | 22 make && |
devl547@5629 | 23 make DESTDIR=$PWD/_pkg install |
devl547@5629 | 24 } |
devl547@5629 | 25 |
devl547@5629 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5629 | 27 genpkg_rules() |
devl547@5629 | 28 { |
devl547@5629 | 29 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION |
devl547@5629 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
devl547@5629 | 31 # We could split package in libcanberra-modules to avoid gstreamer dep. |
devl547@5629 | 32 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION/*.so $fs/usr/lib/$PACKAGE-$VERSION |
devl547@5629 | 33 } |