wok-next view upower/receipt @ rev 20647

Up raptor (2.0.15), ruby (2.5.0), scons(3.0.0), screen (4.6.2), sharutils (4.15.2), slang (2.3.1), swig (3.0.12), sysstat (11.6.2), talloc (2.1.11), tcl (8.6.8), tidy-html5 (5.4.0), tk (8.6.8), udisks (1.0.5), unixODBC (2.3.5), unrar (5.5.8), upower (0.99.7), usbids (20180414), usbutils (009), vala (0.38.8), valgrind (3.13.0), wayland-protocols (1.13), yajl (2.1.0); add librep, rasqal, redland, rep-gtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 03 16:25:23 2018 +0300 (2018-05-03)
parents 10df65db91ad
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="upower"
4 VERSION="0.99.7"
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="https://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 compile_rules() {
20 ./configure \
21 --enable-deprecated \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 upower)
32 copy @std
33 DEPENDS="glib libgudev libusb"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="upower glib-dev"
38 ;;
39 esac
40 }