wok-current view bluez/receipt @ rev 14371
bluez: clean receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 21 20:03:39 2013 +0200 (2013-04-21) |
parents | 95de63c7ec00 |
children | 999d29597a59 |
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"
17 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --libexecdir=/lib \
27 --mandir=/usr/share/man \
28 --enable-bccmd \
29 --enable-dfutool \
30 --enable-dund \
31 --enable-hid2hci \
32 --enable-hidd \
33 --enable-pand \
34 --enable-usb \
35 --enable-cups \
36 --enable-tools \
37 --enable-wiimote \
38 --disable-test \
39 --without-systemdunitdir \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib/alsa-lib
49 cp -a $_pkg/usr/bin $fs/usr
50 cp -a $_pkg/usr/sbin $fs/usr
51 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
52 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
53 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
54 cp -a $_pkg/usr/lib/cups $fs/usr/lib
55 cp -a $_pkg/etc $fs
56 cp -a $_pkg/var $fs
58 #some extra tools and config files
59 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
60 cp $src/audio/audio.conf $fs/etc/bluetooth
61 }