blob: c7b95e57b0cf04335952eccabfee02850d61b4e8 [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
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
10SRC_URI = "http://pm-utils.freedesktop.org/releases/pm-utils-${PV}.tar.gz"
11
12SRC_URI[md5sum] = "1742a556089c36c3a89eb1b957da5a60"
13SRC_URI[sha256sum] = "8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b"
14
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015inherit pkgconfig autotools manpages
16
17PACKAGECONFIG[manpages] = "--enable-doc, --disable-doc, libxslt-native xmlto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
Patrick Williams2a254922023-08-11 09:48:11 -050019RDEPENDS:${PN} = "bash"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
Patrick Williamse760df82023-05-26 11:10:49 -050021EXTRA_OECONF = "--libdir=${nonarch_libdir}"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023do_configure:prepend () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024 ( cd ${S}; autoreconf -f -i -s )
25}
26
Patrick Williamse760df82023-05-26 11:10:49 -050027FILES:${PN} += "${nonarch_libdir}/${BPN}/*"
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:${PN}-dbg += "${datadir}/doc/pm-utils/README.debugging"
Patrick Williamse760df82023-05-26 11:10:49 -050029FILES:${PN}-dev += "${nonarch_libdir}/pkgconfig/pm-utils.pc"