blob: dcc09f279efe00a643f4cfd35bfe01848a6a1e9c [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 Williamse760df82023-05-26 11:10:49 -050022EXTRA_OECONF = "--libdir=${nonarch_libdir}"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024do_configure:prepend () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025 ( cd ${S}; autoreconf -f -i -s )
26}
27
Patrick Williamse760df82023-05-26 11:10:49 -050028FILES:${PN} += "${nonarch_libdir}/${BPN}/*"
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-dbg += "${datadir}/doc/pm-utils/README.debugging"
Patrick Williamse760df82023-05-26 11:10:49 -050030FILES:${PN}-dev += "${nonarch_libdir}/pkgconfig/pm-utils.pc"