wok-next view upower/receipt @ rev 20498

Unsuccessful fixings (just to totally synchronize wok-hg with wok): assaultcube, astromenace, chocolate-doom, dmraid, enigma, gpm, zsnes.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 14 17:27:57 2018 +0200 (2018-03-14)
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 }