wok-6.x view bluez/receipt @ rev 11831

Up: perl-compress-raw* (2.051)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:26:18 2012 +0100 (2012-02-27)
parents 2a918716473d
children 95de63c7ec00
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.96"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bluetooth protocol stack."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
9 BUILD_DEPENDS="alsa-lib-dev dbus dbus-dev glib-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.bluez.org/"
12 #WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
13 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
14 TAGS="bluetooth"
16 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --mandir=/usr/share/man \
26 --disable-gstreamer \
27 --disable-network \
28 --disable-input \
29 --enable-alsa \
30 --enable-usb \
31 --enable-tools \
32 --enable-cups \
33 --enable-hid2hci \
34 --enable-hidd \
35 --enable-dund \
36 --enable-dfutool \
37 --enable-udevrules \
38 --enable-configfiles \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/alsa-lib
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $_pkg/usr/sbin $fs/usr
50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
51 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
52 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
53 cp -a $_pkg/usr/lib/cups $fs/usr/lib
54 cp -a $_pkg/etc $fs
55 cp -a $_pkg/var $fs
57 #some extra tools and config files
58 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
59 cp $src/audio/audio.conf $fs/etc/bluetooth
61 }