wok view bluez/receipt @ rev 6567
Added lincity-ng. A City Simulation Game.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 08 01:18:10 2010 +0000 (2010-10-08) |
parents | a738024796d9 |
children | 51eff21c8bc4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.71"
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 }