wok-4.x annotate bluez/receipt @ rev 4829

Up: mp (5.1.3) - Add desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:08:16 2010 +0100 (2010-01-21)
parents
children 4273e906522b
rev   line source
pankso@4357 1 # SliTaz package receipt.
pankso@4357 2
pankso@4357 3 PACKAGE="bluez"
pankso@4357 4 VERSION="4.54"
pankso@4357 5 CATEGORY="system-tools"
pankso@4357 6 SHORT_DESC="Bluetooth protocol stack."
pankso@4357 7 MAINTAINER="pankso@slitaz.org"
pankso@4357 8 DEPENDS="linux-bluetooth alsa-lib"
pankso@4357 9 BUILD_DEPENDS="alsa-lib-dev"
pankso@4357 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4357 11 WEB_SITE="http://www.bluez.org/"
pankso@4357 12 WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
pankso@4357 13
pankso@4357 14 # Rules to configure and make the package.
pankso@4357 15 compile_rules()
pankso@4357 16 {
pankso@4357 17 cd $src
pankso@4357 18 ./configure \
pankso@4357 19 --prefix=/usr \
pankso@4357 20 --sysconfdir=/etc \
pankso@4357 21 --localstatedir=/var \
pankso@4357 22 --mandir=/usr/share/man \
pankso@4357 23 --disable-gstreamer \
pankso@4357 24 $CONFIGURE_ARGS &&
pankso@4357 25 make &&
pankso@4357 26 make DESTDIR=$PWD/_pkg install
pankso@4357 27 }
pankso@4357 28
pankso@4357 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4357 30 genpkg_rules()
pankso@4357 31 {
pankso@4357 32 mkdir -p $fs/usr/lib/alsa-lib
pankso@4357 33 cp -a $_pkg/usr/bin $fs/usr
pankso@4357 34 cp -a $_pkg/usr/sbin $fs/usr
pankso@4357 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4357 36 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
pankso@4357 37 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
pankso@4357 38 cp -a $_pkg/etc $fs
pankso@4357 39 cp -a $_pkg/var $fs
pankso@4357 40 # Udev rules
pankso@4357 41 cp -a $_pkg/lib/udev $fs/etc
pankso@4357 42 }