wok-6.x annotate bluez/receipt @ rev 14369

Up: bluez (4.101)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 21 19:58:44 2013 +0200 (2013-04-21)
parents 9ca8ff0199d2
children 1b599f604170
rev   line source
pankso@4357 1 # SliTaz package receipt.
pankso@4357 2
pankso@4357 3 PACKAGE="bluez"
domcox@14369 4 VERSION="4.101"
pankso@4357 5 CATEGORY="system-tools"
pankso@4357 6 SHORT_DESC="Bluetooth protocol stack."
pankso@4357 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@7715 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4357 9 WEB_SITE="http://www.bluez.org/"
slaxemulator@11015 10 #WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
slaxemulator@11015 11 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
jozee@4932 12 TAGS="bluetooth"
pankso@4357 13
domcox@14369 14 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
domcox@14369 15 BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config"
domcox@14369 16
pankso@4357 17 # Rules to configure and make the package.
jozee@5076 18
pankso@4357 19 compile_rules()
pankso@4357 20 {
pankso@4357 21 cd $src
domcox@14369 22
domcox@14369 23 # --prefix=/usr \
domcox@14369 24 # --sysconfdir=/etc \
domcox@14369 25 # --localstatedir=/var \
domcox@14369 26 # --mandir=/usr/share/man \
domcox@14369 27 # --disable-gstreamer \
domcox@14369 28 # --disable-network \
domcox@14369 29 # --disable-input \
domcox@14369 30 # --enable-alsa \
domcox@14369 31 # --enable-usb \
domcox@14369 32 # --enable-tools \
domcox@14369 33 # --enable-cups \
domcox@14369 34 # --enable-hid2hci \
domcox@14369 35 # --enable-hidd \
domcox@14369 36 # --enable-dund \
domcox@14369 37 # --enable-dfutool \
domcox@14369 38 # --enable-udevrules \
domcox@14369 39 # --enable-configfiles \
domcox@14369 40
pankso@4357 41 ./configure \
pankso@4357 42 --prefix=/usr \
pankso@4357 43 --sysconfdir=/etc \
pankso@4357 44 --localstatedir=/var \
domcox@14369 45 --libexecdir=/lib \
pankso@4357 46 --mandir=/usr/share/man \
domcox@14369 47 --enable-bccmd \
domcox@14369 48 --enable-dfutool \
domcox@14369 49 --enable-dund \
jozee@5076 50 --enable-hid2hci \
jozee@5076 51 --enable-hidd \
domcox@14369 52 --enable-pand \
domcox@14369 53 --enable-usb \
domcox@14369 54 --enable-cups \
domcox@14369 55 --enable-tools \
domcox@14369 56 --enable-wiimote \
domcox@14369 57 --disable-test \
domcox@14369 58 --without-systemdunitdir \
pankso@4357 59 $CONFIGURE_ARGS &&
pankso@4357 60 make &&
slaxemulator@10990 61 make DESTDIR=$DESTDIR install
pankso@4357 62 }
pankso@4357 63
pankso@4357 64 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4357 65 genpkg_rules()
pankso@4357 66 {
jozee@5077 67 mkdir -p $fs/usr/lib/alsa-lib
pankso@4357 68 cp -a $_pkg/usr/bin $fs/usr
pankso@4357 69 cp -a $_pkg/usr/sbin $fs/usr
pankso@4357 70 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4357 71 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
pankso@4357 72 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
jozee@5076 73 cp -a $_pkg/usr/lib/cups $fs/usr/lib
pankso@4357 74 cp -a $_pkg/etc $fs
pankso@4357 75 cp -a $_pkg/var $fs
domcox@14369 76
jozee@5076 77 #some extra tools and config files
jozee@5076 78 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
jozee@5076 79 cp $src/audio/audio.conf $fs/etc/bluetooth
pankso@4357 80 }