Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SECTION = "base" |
| 2 | SUMMARY = "Utilities and scripts for power management" |
| 3 | DESCRIPTION = "Simple shell command line tools to suspend and hibernate." |
| 4 | HOMEPAGE = "http://pm-utils.freedesktop.org/wiki/" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-only" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 7 | file://src/pm-pmu.c;beginline=1;endline=22;md5=3c1ddbc54e735fb4a0386e14c78a3147" |
| 8 | |
| 9 | PR = "r1" |
| 10 | |
| 11 | SRC_URI = "http://pm-utils.freedesktop.org/releases/pm-utils-${PV}.tar.gz" |
| 12 | |
| 13 | SRC_URI[md5sum] = "1742a556089c36c3a89eb1b957da5a60" |
| 14 | SRC_URI[sha256sum] = "8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b" |
| 15 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | inherit pkgconfig autotools manpages |
| 17 | |
| 18 | PACKAGECONFIG[manpages] = "--enable-doc, --disable-doc, libxslt-native xmlto-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | RDEPENDS:${PN} = "grep bash" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 22 | EXTRA_OECONF = "--libdir=${nonarch_libdir}" |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | do_configure:prepend () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | ( cd ${S}; autoreconf -f -i -s ) |
| 26 | } |
| 27 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 28 | FILES:${PN} += "${nonarch_libdir}/${BPN}/*" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | FILES:${PN}-dbg += "${datadir}/doc/pm-utils/README.debugging" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 30 | FILES:${PN}-dev += "${nonarch_libdir}/pkgconfig/pm-utils.pc" |