wok annotate bluez/receipt @ rev 6030

icedtea6-jdk: be less memory hungry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 15 17:15:37 2010 +0200 (2010-08-15)
parents 7f2e7946dc8e
children b06949d31ae6
rev   line source
pankso@4357 1 # SliTaz package receipt.
pankso@4357 2
pankso@4357 3 PACKAGE="bluez"
jozee@5076 4 VERSION="4.62"
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"
jozee@5076 9 BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev"
pankso@4357 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 }