wok-next view upower/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }