wok-6.x view bluez/receipt @ rev 14782
gpxe: remove wrong triggers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 15:23:38 2013 +0200 (2013-07-05) |
parents | 1b599f604170 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.101"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bluetooth protocol stack."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.bluez.org/"
10 #WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
11 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
12 TAGS="bluetooth"
14 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
15 BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config libusb-compat"
17 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/NEED_USB/xx&/' tools/*.c
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --libexecdir=/lib \
28 --mandir=/usr/share/man \
29 --enable-bccmd \
30 --enable-dfutool \
31 --enable-dund \
32 --enable-hid2hci \
33 --enable-hidd \
34 --enable-pand \
35 --enable-usb \
36 --enable-cups \
37 --enable-tools \
38 --enable-wiimote \
39 --disable-test \
40 --without-systemdunitdir \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib/alsa-lib
50 cp -a $_pkg/usr/bin $fs/usr
51 cp -a $_pkg/usr/sbin $fs/usr
52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
53 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
54 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
55 cp -a $_pkg/usr/lib/cups $fs/usr/lib
56 cp -a $_pkg/etc $fs
57 cp -a $_pkg/var $fs
59 #some extra tools and config files
60 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
61 cp $src/audio/audio.conf $fs/etc/bluetooth
62 }