wok-next annotate upower/receipt @ rev 21470

updated totem-pl-parser (3.26.0 -> 3.26.5)
author Hans-G?nter Theisgen
date Wed May 13 08:02:17 2020 +0100 (2020-05-13)
parents f48456621a9d
children
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@21020 6 SHORT_DESC="Abstraction for enumerating power devices"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@20647 9 WEB_SITE="https://upower.freedesktop.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 17 SPLIT="$PACKAGE-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 }