wok-stable annotate bluez/receipt @ rev 5056
libgphoto2, scanner: reconfigure udev after addition of new rule
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Mar 06 19:04:53 2010 +0000 (2010-03-06) |
parents | 4273e906522b |
children | f5cf508e9e5f |
rev | line source |
---|---|
pankso@4357 | 1 # SliTaz package receipt. |
pankso@4357 | 2 |
pankso@4357 | 3 PACKAGE="bluez" |
pankso@4357 | 4 VERSION="4.54" |
pankso@4357 | 5 CATEGORY="system-tools" |
pankso@4357 | 6 SHORT_DESC="Bluetooth protocol stack." |
pankso@4357 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@4998 | 8 DEPENDS="linux-bluetooth alsa-lib glib dbus" |
pankso@4357 | 9 BUILD_DEPENDS="alsa-lib-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. |
pankso@4357 | 16 compile_rules() |
pankso@4357 | 17 { |
pankso@4357 | 18 cd $src |
pankso@4357 | 19 ./configure \ |
pankso@4357 | 20 --prefix=/usr \ |
pankso@4357 | 21 --sysconfdir=/etc \ |
pankso@4357 | 22 --localstatedir=/var \ |
pankso@4357 | 23 --mandir=/usr/share/man \ |
pankso@4357 | 24 --disable-gstreamer \ |
pankso@4357 | 25 $CONFIGURE_ARGS && |
pankso@4357 | 26 make && |
pankso@4357 | 27 make DESTDIR=$PWD/_pkg install |
pankso@4357 | 28 } |
pankso@4357 | 29 |
pankso@4357 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4357 | 31 genpkg_rules() |
pankso@4357 | 32 { |
pankso@4357 | 33 mkdir -p $fs/usr/lib/alsa-lib |
pankso@4357 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@4357 | 35 cp -a $_pkg/usr/sbin $fs/usr |
pankso@4357 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4357 | 37 cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib |
pankso@4357 | 38 cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib |
pankso@4357 | 39 cp -a $_pkg/etc $fs |
pankso@4357 | 40 cp -a $_pkg/var $fs |
pankso@4357 | 41 # Udev rules |
pankso@4357 | 42 cp -a $_pkg/lib/udev $fs/etc |
pankso@4357 | 43 } |