wok view bluez/receipt @ rev 9041

arj: need make -j1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 08:17:31 2011 +0100 (2011-03-04)
parents e4cd297c7c82
children 31799d66de3d
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.89"
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 TAGS="bluetooth"
15 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --mandir=/usr/share/man \
25 --disable-gstreamer \
26 --disable-network \
27 --disable-input \
28 --enable-alsa \
29 --enable-usb \
30 --enable-tools \
31 --enable-cups \
32 --enable-hid2hci \
33 --enable-hidd \
34 --enable-dund \
35 --enable-dfutool \
36 --enable-udevrules \
37 --enable-configfiles \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$PWD/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/alsa-lib
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/usr/sbin $fs/usr
49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
50 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
51 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
52 cp -a $_pkg/usr/lib/cups $fs/usr/lib
53 cp -a $_pkg/etc $fs
54 cp -a $_pkg/var $fs
56 #some extra tools and config files
57 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
58 cp $src/audio/audio.conf $fs/etc/bluetooth
60 }