wok-next view bluez/receipt @ rev 8278
Up: bluez to 4.87.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 30 15:42:18 2011 +0000 (2011-01-30) |
parents | d4abc9d28cda |
children | f47bb6d38484 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.87"
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 }