wok-next view upower/receipt @ rev 19873

cacerts: get certificates data directly from Mozilla Hg; BLFS returns empty data today
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 29 01:32:06 2017 +0300 (2017-09-29)
parents 0c247ee1a841
children e756329576c3
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 dbus dbus-glib libgudev libusb"
14 BUILD_DEPENDS="polkit-dev glib-dev dbus-dev dbus-glib-dev \
15 libgudev-dev libusb-dev intltool"
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 }