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

Up: bluez to 4.96.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 02:10:55 2011 +0000 (2011-10-13)
parents 1c43c7d3d23c
children 9ca8ff0199d2
rev   line source
pankso@4357 1 # SliTaz package receipt.
pankso@4357 2
pankso@4357 3 PACKAGE="bluez"
slaxemulator@10990 4 VERSION="4.96"
pankso@4357 5 CATEGORY="system-tools"
pankso@4357 6 SHORT_DESC="Bluetooth protocol stack."
pankso@4357 7 MAINTAINER="pankso@slitaz.org"
jozee@5178 8 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
slaxemulator@6682 9 BUILD_DEPENDS="alsa-lib-dev dbus dbus-dev glib-dev pkg-config"
slaxemulator@7715 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4357 11 WEB_SITE="http://www.bluez.org/"
pankso@4357 12 WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
jozee@4932 13 TAGS="bluetooth"
pankso@4357 14
pankso@4357 15 # Rules to configure and make the package.
jozee@5076 16
pankso@4357 17 compile_rules()
pankso@4357 18 {
pankso@4357 19 cd $src
pankso@4357 20 ./configure \
pankso@4357 21 --prefix=/usr \
pankso@4357 22 --sysconfdir=/etc \
pankso@4357 23 --localstatedir=/var \
pankso@4357 24 --mandir=/usr/share/man \
pankso@4357 25 --disable-gstreamer \
jozee@5076 26 --disable-network \
jozee@5076 27 --disable-input \
jozee@5076 28 --enable-alsa \
jozee@5076 29 --enable-usb \
jozee@5076 30 --enable-tools \
jozee@5076 31 --enable-cups \
jozee@5076 32 --enable-hid2hci \
jozee@5076 33 --enable-hidd \
jozee@5076 34 --enable-dund \
jozee@5076 35 --enable-dfutool \
jozee@5076 36 --enable-udevrules \
jozee@5076 37 --enable-configfiles \
pankso@4357 38 $CONFIGURE_ARGS &&
pankso@4357 39 make &&
slaxemulator@10990 40 make DESTDIR=$DESTDIR install
pankso@4357 41 }
pankso@4357 42
pankso@4357 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4357 44 genpkg_rules()
pankso@4357 45 {
jozee@5077 46 mkdir -p $fs/usr/lib/alsa-lib
pankso@4357 47 cp -a $_pkg/usr/bin $fs/usr
pankso@4357 48 cp -a $_pkg/usr/sbin $fs/usr
pankso@4357 49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4357 50 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
pankso@4357 51 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
jozee@5076 52 cp -a $_pkg/usr/lib/cups $fs/usr/lib
pankso@4357 53 cp -a $_pkg/etc $fs
pankso@4357 54 cp -a $_pkg/var $fs
jozee@5076 55
jozee@5076 56 #some extra tools and config files
jozee@5076 57 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
jozee@5076 58 cp $src/audio/audio.conf $fs/etc/bluetooth
jozee@5076 59
pankso@4357 60 }