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

Up icmptx (0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 09:13:25 2009 +0100 (2009-12-21)
parents
children 4273e906522b
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --mandir=/usr/share/man \
23 --disable-gstreamer \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/alsa-lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
37 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/var $fs
40 # Udev rules
41 cp -a $_pkg/lib/udev $fs/etc
42 }