wok-current view upower/receipt @ rev 15432

Up: eina (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:26 2013 +0100 (2013-11-05)
parents 2c86719f7944
children 22f47e58bb56
line source
1 # SliTaz package receipt.
3 PACKAGE="upower"
4 VERSION="0.9.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="UPower is an abstraction for enumerating power devices."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://upower.freedesktop.org/"
11 WGET_URL="http://upower.freedesktop.org/releases/$TARBALL"
13 DEPENDS="polkit glib libgio dbus dbus-glib libgudev libusb"
14 BUILD_DEPENDS="polkit-dev glib-dev libgio-dev dbus-dev dbus-glib-dev \
15 libgudev-dev libusb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --sysconfdir=/etc \
23 --libexecdir=/usr/lib/upower \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/var $fs
35 cp -a $install/lib/udev $fs/etc
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/upower $fs/usr/lib
39 cp -a $install/usr/share/dbus-1 $fs/usr/share
40 cp -a $install/usr/share/polkit-1 $fs/usr/share
41 }