wok-stable view bluez/receipt @ rev 4975

add/improve TAGS v* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 12:28:07 2010 +0000 (2010-02-24)
parents 0f6c3b6d8993
children 395ec8205cff
line source
1 # SliTaz package receipt.
3 PACKAGE="bluez"
4 VERSION="4.54"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bluetooth protocol stack."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-bluetooth alsa-lib"
9 BUILD_DEPENDS="alsa-lib-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.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --mandir=/usr/share/man \
24 --disable-gstreamer \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/alsa-lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
38 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
39 cp -a $_pkg/etc $fs
40 cp -a $_pkg/var $fs
41 # Udev rules
42 cp -a $_pkg/lib/udev $fs/etc
43 }