wok view bluez/receipt @ rev 15935
Up: polkit-qt (0.103.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:26:58 2014 +0100 (2014-02-22) |
parents | 999d29597a59 |
children | a5b865e166cd |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.bluez.org/"
11 #WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
12 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
13 TAGS="bluetooth"
15 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
16 BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config libusb-compat"
18 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/NEED_USB/xx&/' tools/*.c
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --libexecdir=/lib \
29 --mandir=/usr/share/man \
30 --enable-bccmd \
31 --enable-dfutool \
32 --enable-dund \
33 --enable-hid2hci \
34 --enable-hidd \
35 --enable-pand \
36 --enable-usb \
37 --enable-cups \
38 --enable-tools \
39 --enable-wiimote \
40 --disable-test \
41 --without-systemdunitdir \
42 $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib/alsa-lib
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/sbin $fs/usr
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
55 cp -a $install/usr/lib/bluetooth $fs/usr/lib
56 cp -a $install/usr/lib/cups $fs/usr/lib
57 cp -a $install/etc $fs
58 cp -a $install/var $fs
60 #some extra tools and config files
61 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
62 cp $src/audio/audio.conf $fs/etc/bluetooth
63 }