wok-6.x view upower/receipt @ rev 14857

Up: libvncserver (0.9.9), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 20 13:14:04 2013 +0000 (2013-07-20)
parents
children 7896f0694ef6
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://upower.freedesktop.org/"
10 WGET_URL="http://upower.freedesktop.org/releases/$TARBALL"
12 DEPENDS="polkit glib libgio dbus dbus-glib libgudev libusb"
13 BUILD_DEPENDS="polkit-dev glib-dev libgio-dev dbus-dev dbus-glib-dev \
14 libgudev-dev libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --sysconfdir=/etc \
22 --libexecdir=/usr/lib/upower \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/var $fs
34 cp -a $install/lib/udev $fs/etc
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/upower $fs/usr/lib
38 cp -a $install/usr/share/dbus-1 $fs/usr/share
39 cp -a $install/usr/share/polkit-1 $fs/usr/share
40 }