wok-next view upower/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | e70c0b9c5adf |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="upower"
4 VERSION="0.99.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="UPower is an abstraction for enumerating power devices"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://upower.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/upower.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://upower.freedesktop.org/releases/$TARBALL"
15 BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev eudev-dev \
16 libgudev-dev libusb-dev intltool dbus-introspect"
17 SPLIT="upower-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --enable-deprecated \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 upower)
36 copy @std
37 DEPENDS="glib libffi libgudev libusb pcre util-linux-blkid \
38 util-linux-mount util-linux-uuid zlib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="upower glib-dev libffi-dev pcre-dev util-linux-blkid-dev \
43 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
44 ;;
45 esac
46 }