wok-next view upower/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | e756329576c3 |
children | 10df65db91ad |
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 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 upower)
31 copy @std
32 DEPENDS="glib libffi libgudev libusb pcre util-linux-blkid \
33 util-linux-mount util-linux-uuid zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="upower glib-dev libffi-dev pcre-dev util-linux-blkid-dev \
38 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
39 ;;
40 esac
41 }