wok-4.x view bluez/receipt @ rev 5498

Up: claws-{mail,dev,plugins} (3.7.6)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat May 08 09:22:19 2010 +0200 (2010-05-08)
parents 7f2e7946dc8e
children b06949d31ae6
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 pygobject dbus-python"
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 }