wok-next view upower/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="upower"
4 VERSION="0.99.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Abstraction for enumerating power devices"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://upower.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 }