wok-next annotate upower/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 10df65db91ad |
children | f48456621a9d |
rev | line source |
---|---|
al@20018 | 1 # SliTaz package receipt v2. |
pankso@12412 | 2 |
pankso@12412 | 3 PACKAGE="upower" |
al@20647 | 4 VERSION="0.99.7" |
pankso@12412 | 5 CATEGORY="system-tools" |
al@20018 | 6 SHORT_DESC="UPower is an abstraction for enumerating power devices" |
pankso@12412 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20647 | 9 WEB_SITE="https://upower.freedesktop.org/" |
al@20018 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/upower.html" |
al@20018 | 11 |
pankso@12412 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20018 | 13 WGET_URL="https://upower.freedesktop.org/releases/$TARBALL" |
pankso@12412 | 14 |
al@20018 | 15 BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev eudev-dev \ |
al@20018 | 16 libgudev-dev libusb-dev intltool dbus-introspect" |
al@20018 | 17 SPLIT="upower-dev" |
pankso@12412 | 18 |
al@20534 | 19 compile_rules() { |
pankso@12412 | 20 ./configure \ |
al@20018 | 21 --enable-deprecated \ |
al@20018 | 22 --disable-static \ |
pankso@12412 | 23 $CONFIGURE_ARGS && |
al@20604 | 24 fix libtool && |
al@20534 | 25 make && |
al@20534 | 26 make install |
pankso@12412 | 27 } |
pankso@12412 | 28 |
al@20534 | 29 genpkg_rules() { |
al@20018 | 30 case $PACKAGE in |
al@20018 | 31 upower) |
al@20018 | 32 copy @std |
al@20647 | 33 DEPENDS="glib libgudev libusb" |
al@20018 | 34 ;; |
al@20018 | 35 *-dev) |
al@20018 | 36 copy @dev |
al@20647 | 37 DEPENDS="upower glib-dev" |
al@20018 | 38 ;; |
al@20018 | 39 esac |
pankso@12412 | 40 } |