wok-next view upower/receipt @ rev 20690

add missing SHA256sums
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:36:47 2018 +0000 (2018-05-21)
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 }