wok-next view upower/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 757d032c55c7 |
children | 1ff723a6455b |
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 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 libffi libgudev libusb pcre util-linux-blkid \
34 util-linux-mount util-linux-uuid zlib"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="upower glib-dev libffi-dev pcre-dev util-linux-blkid-dev \
39 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
40 ;;
41 esac
42 }