wok annotate bluez/receipt @ rev 7846
Up: linuxqq v1.0.2
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Dec 28 16:07:50 2010 +0000 (2010-12-28) |
parents | 22b3d6db6c91 |
children | d4abc9d28cda |
rev | line source |
---|---|
pankso@4357 | 1 # SliTaz package receipt. |
pankso@4357 | 2 |
pankso@4357 | 3 PACKAGE="bluez" |
slaxemulator@7715 | 4 VERSION="4.82" |
pankso@4357 | 5 CATEGORY="system-tools" |
pankso@4357 | 6 SHORT_DESC="Bluetooth protocol stack." |
pankso@4357 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@5178 | 8 DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python" |
slaxemulator@6682 | 9 BUILD_DEPENDS="alsa-lib-dev dbus dbus-dev glib-dev pkg-config" |
slaxemulator@7715 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4357 | 11 WEB_SITE="http://www.bluez.org/" |
pankso@4357 | 12 WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL" |
jozee@4932 | 13 TAGS="bluetooth" |
pankso@4357 | 14 |
pankso@4357 | 15 # Rules to configure and make the package. |
jozee@5076 | 16 |
pankso@4357 | 17 compile_rules() |
pankso@4357 | 18 { |
pankso@4357 | 19 cd $src |
pankso@4357 | 20 ./configure \ |
pankso@4357 | 21 --prefix=/usr \ |
pankso@4357 | 22 --sysconfdir=/etc \ |
pankso@4357 | 23 --localstatedir=/var \ |
pankso@4357 | 24 --mandir=/usr/share/man \ |
pankso@4357 | 25 --disable-gstreamer \ |
jozee@5076 | 26 --disable-network \ |
jozee@5076 | 27 --disable-input \ |
jozee@5076 | 28 --enable-alsa \ |
jozee@5076 | 29 --enable-usb \ |
jozee@5076 | 30 --enable-tools \ |
jozee@5076 | 31 --enable-cups \ |
jozee@5076 | 32 --enable-hid2hci \ |
jozee@5076 | 33 --enable-hidd \ |
jozee@5076 | 34 --enable-dund \ |
jozee@5076 | 35 --enable-dfutool \ |
jozee@5076 | 36 --enable-udevrules \ |
jozee@5076 | 37 --enable-configfiles \ |
pankso@4357 | 38 $CONFIGURE_ARGS && |
pankso@4357 | 39 make && |
pankso@4357 | 40 make DESTDIR=$PWD/_pkg install |
pankso@4357 | 41 } |
pankso@4357 | 42 |
pankso@4357 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4357 | 44 genpkg_rules() |
pankso@4357 | 45 { |
jozee@5077 | 46 mkdir -p $fs/usr/lib/alsa-lib |
pankso@4357 | 47 cp -a $_pkg/usr/bin $fs/usr |
pankso@4357 | 48 cp -a $_pkg/usr/sbin $fs/usr |
pankso@4357 | 49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4357 | 50 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib |
pankso@4357 | 51 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib |
jozee@5076 | 52 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
pankso@4357 | 53 cp -a $_pkg/etc $fs |
pankso@4357 | 54 cp -a $_pkg/var $fs |
jozee@5076 | 55 |
jozee@5076 | 56 #some extra tools and config files |
jozee@5076 | 57 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent |
jozee@5076 | 58 cp $src/audio/audio.conf $fs/etc/bluetooth |
jozee@5076 | 59 |
pankso@4357 | 60 } |