wok view bluez/receipt @ rev 5111
catalyst:update depends
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Mar 18 10:35:15 2010 +0000 (2010-03-18) |
parents | f5cf508e9e5f |
children | 7f2e7946dc8e |
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.62"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bluetooth protocol stack."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-bluetooth alsa-lib glib dbus"
9 BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 }