wok-current annotate upower/receipt @ rev 24270

updated perl-xml-writer (0.625 -> 0.900)
author Hans-G?nter Theisgen
date Sun Jan 02 10:39:58 2022 +0100 (2022-01-02)
parents 22f47e58bb56
children 934055de50e2
rev   line source
pankso@12412 1 # SliTaz package receipt.
pankso@12412 2
pankso@12412 3 PACKAGE="upower"
pankso@12412 4 VERSION="0.9.15"
pankso@12412 5 CATEGORY="system-tools"
pankso@12412 6 SHORT_DESC="UPower is an abstraction for enumerating power devices."
pankso@12412 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pankso@12412 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20679 10 WEB_SITE="https://upower.freedesktop.org/"
pankso@12412 11 WGET_URL="http://upower.freedesktop.org/releases/$TARBALL"
pankso@12412 12
pankso@12412 13 DEPENDS="polkit glib libgio dbus dbus-glib libgudev libusb"
al@19727 14 BUILD_DEPENDS="flex polkit-dev glib-dev libgio-dev dbus-dev dbus-glib-dev \
al@19727 15 libgudev-dev libusb-dev libxslt docbook-xsl"
pankso@12412 16
pankso@12412 17 # Rules to configure and make the package.
pankso@12412 18 compile_rules()
pankso@12412 19 {
pankso@12412 20 cd $src
pankso@12412 21 ./configure \
pankso@12412 22 --sysconfdir=/etc \
pankso@12412 23 --libexecdir=/usr/lib/upower \
pankso@12412 24 --localstatedir=/var \
pankso@12412 25 $CONFIGURE_ARGS &&
pankso@12412 26 make && make install
pankso@12412 27 }
pankso@12412 28
pankso@12412 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12412 30 genpkg_rules()
pankso@12412 31 {
pankso@12412 32 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12412 33 cp -a $install/etc $fs
pankso@12412 34 cp -a $install/var $fs
pankso@12412 35 cp -a $install/lib/udev $fs/etc
pankso@12412 36 cp -a $install/usr/bin $fs/usr
pankso@12412 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12412 38 cp -a $install/usr/lib/upower $fs/usr/lib
pankso@12412 39 cp -a $install/usr/share/dbus-1 $fs/usr/share
pankso@12412 40 cp -a $install/usr/share/polkit-1 $fs/usr/share
pankso@12412 41 }