blob: c6a4bc4932444953ee4e7e6f85fed4e6ad15705a [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SECTION = "base"
2SUMMARY = "Utilities and scripts for power management"
3DESCRIPTION = "Simple shell command line tools to suspend and hibernate."
4HOMEPAGE = "http://pm-utils.freedesktop.org/wiki/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "GPL-2.0-only"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://src/pm-pmu.c;beginline=1;endline=22;md5=3c1ddbc54e735fb4a0386e14c78a3147"
8
9PR = "r1"
10
11SRC_URI = "http://pm-utils.freedesktop.org/releases/pm-utils-${PV}.tar.gz"
12
13SRC_URI[md5sum] = "1742a556089c36c3a89eb1b957da5a60"
14SRC_URI[sha256sum] = "8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b"
15
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016inherit pkgconfig autotools manpages
17
18PACKAGECONFIG[manpages] = "--enable-doc, --disable-doc, libxslt-native xmlto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019
Patrick Williams213cb262021-08-07 19:21:33 -050020RDEPENDS:${PN} = "grep bash"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
Patrick Williams213cb262021-08-07 19:21:33 -050022do_configure:prepend () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023 ( cd ${S}; autoreconf -f -i -s )
24}
25
Patrick Williams213cb262021-08-07 19:21:33 -050026FILES:${PN} += "${libdir}/${BPN}/*"
27FILES:${PN}-dbg += "${datadir}/doc/pm-utils/README.debugging"