wok annotate upower/receipt @ rev 13589
Add linux64-aoe, linux64-nbd and remove linux-udf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 16:37:56 2012 +0100 (2012-11-06) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
pankso@12412 | 1 # SliTaz package receipt. |
pankso@12412 | 2 |
pankso@12412 | 3 PACKAGE="upower" |
pankso@12412 | 4 VERSION="0.9.15" |
pankso@12412 | 5 CATEGORY="system-tools" |
pankso@12412 | 6 SHORT_DESC="UPower is an abstraction for enumerating power devices." |
pankso@12412 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12412 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12412 | 9 WEB_SITE="http://upower.freedesktop.org/" |
pankso@12412 | 10 WGET_URL="http://upower.freedesktop.org/releases/$TARBALL" |
pankso@12412 | 11 |
pankso@12412 | 12 DEPENDS="polkit glib libgio dbus dbus-glib libgudev libusb" |
pankso@12412 | 13 BUILD_DEPENDS="polkit-dev glib-dev libgio-dev dbus-dev dbus-glib-dev \ |
pankso@12412 | 14 libgudev-dev libusb-dev" |
pankso@12412 | 15 |
pankso@12412 | 16 # Rules to configure and make the package. |
pankso@12412 | 17 compile_rules() |
pankso@12412 | 18 { |
pankso@12412 | 19 cd $src |
pankso@12412 | 20 ./configure \ |
pankso@12412 | 21 --sysconfdir=/etc \ |
pankso@12412 | 22 --libexecdir=/usr/lib/upower \ |
pankso@12412 | 23 --localstatedir=/var \ |
pankso@12412 | 24 $CONFIGURE_ARGS && |
pankso@12412 | 25 make && make install |
pankso@12412 | 26 } |
pankso@12412 | 27 |
pankso@12412 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12412 | 29 genpkg_rules() |
pankso@12412 | 30 { |
pankso@12412 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12412 | 32 cp -a $install/etc $fs |
pankso@12412 | 33 cp -a $install/var $fs |
pankso@12412 | 34 cp -a $install/lib/udev $fs/etc |
pankso@12412 | 35 cp -a $install/usr/bin $fs/usr |
pankso@12412 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12412 | 37 cp -a $install/usr/lib/upower $fs/usr/lib |
pankso@12412 | 38 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12412 | 39 cp -a $install/usr/share/polkit-1 $fs/usr/share |
pankso@12412 | 40 } |