wok-current view upower/receipt @ rev 19872
linld/tazboot: fix magic (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 18:01:42 2017 +0200 (2017-03-30) |
parents | 7896f0694ef6 |
children | 6135577f4d08 |
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="flex polkit-dev glib-dev libgio-dev dbus-dev dbus-glib-dev \
15 libgudev-dev libusb-dev libxslt docbook-xsl"
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 }