wok-6.x annotate bluez/receipt @ rev 13066
abiword: fix compile_rules(); provide all languages listed in 'slitaz-i18n'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 22 21:49:35 2012 +0000 (2012-06-22) |
parents | 2a918716473d |
children | 95de63c7ec00 |
rev | line source |
---|---|
pankso@4357 | 1 # SliTaz package receipt. |
pankso@4357 | 2 |
pankso@4357 | 3 PACKAGE="bluez" |
slaxemulator@10990 | 4 VERSION="4.96" |
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/" |
slaxemulator@11015 | 12 #WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL" |
slaxemulator@11015 | 13 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL" |
jozee@4932 | 14 TAGS="bluetooth" |
pankso@4357 | 15 |
pankso@4357 | 16 # Rules to configure and make the package. |
jozee@5076 | 17 |
pankso@4357 | 18 compile_rules() |
pankso@4357 | 19 { |
pankso@4357 | 20 cd $src |
pankso@4357 | 21 ./configure \ |
pankso@4357 | 22 --prefix=/usr \ |
pankso@4357 | 23 --sysconfdir=/etc \ |
pankso@4357 | 24 --localstatedir=/var \ |
pankso@4357 | 25 --mandir=/usr/share/man \ |
pankso@4357 | 26 --disable-gstreamer \ |
jozee@5076 | 27 --disable-network \ |
jozee@5076 | 28 --disable-input \ |
jozee@5076 | 29 --enable-alsa \ |
jozee@5076 | 30 --enable-usb \ |
jozee@5076 | 31 --enable-tools \ |
jozee@5076 | 32 --enable-cups \ |
jozee@5076 | 33 --enable-hid2hci \ |
jozee@5076 | 34 --enable-hidd \ |
jozee@5076 | 35 --enable-dund \ |
jozee@5076 | 36 --enable-dfutool \ |
jozee@5076 | 37 --enable-udevrules \ |
jozee@5076 | 38 --enable-configfiles \ |
pankso@4357 | 39 $CONFIGURE_ARGS && |
pankso@4357 | 40 make && |
slaxemulator@10990 | 41 make DESTDIR=$DESTDIR install |
pankso@4357 | 42 } |
pankso@4357 | 43 |
pankso@4357 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4357 | 45 genpkg_rules() |
pankso@4357 | 46 { |
jozee@5077 | 47 mkdir -p $fs/usr/lib/alsa-lib |
pankso@4357 | 48 cp -a $_pkg/usr/bin $fs/usr |
pankso@4357 | 49 cp -a $_pkg/usr/sbin $fs/usr |
pankso@4357 | 50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4357 | 51 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib |
pankso@4357 | 52 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib |
jozee@5076 | 53 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
pankso@4357 | 54 cp -a $_pkg/etc $fs |
pankso@4357 | 55 cp -a $_pkg/var $fs |
jozee@5076 | 56 |
jozee@5076 | 57 #some extra tools and config files |
jozee@5076 | 58 cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent |
jozee@5076 | 59 cp $src/audio/audio.conf $fs/etc/bluetooth |
jozee@5076 | 60 |
pankso@4357 | 61 } |