wok view bluez/receipt @ rev 19871
linld/tazboot: fix magic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 17:22:13 2017 +0200 (2017-03-30) |
parents | 7896f0694ef6 |
children | 429d89fd5e0f |
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 WEB_SITE="http://www.bluez.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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.
19 compile_rules()
20 {
21 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 $install/usr/bin $fs/usr
51 cp -a $install/usr/sbin $fs/usr
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
54 cp -a $install/usr/lib/bluetooth $fs/usr/lib
55 cp -a $install/usr/lib/cups $fs/usr/lib
56 cp -a $install/etc $fs
57 cp -a $install/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 }