[oe] [meta-oe][PATCH] pmtools: add new recipe

Khem Raj raj.khem at gmail.com
Tue Aug 18 17:24:28 UTC 2015


> On Aug 18, 2015, at 9:49 AM, Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com> wrote:
> 
> pmtools contains small collection of power management test and
> investigation tools,
> acpidump - dump a system’s ACPI tables to an ASCII file
> acpixtract - convert ASCII acpidump output to raw binary table
> madt -  parser for ACPI table
> 
> Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
> ---
> .../recipes-devtools/pmtools/pmtools_20130209.bb   | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb
> 
> diff --git a/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb b/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb
> new file mode 100644
> index 0000000..1d278fc
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/pmtools/pmtools_20130209.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "This is a small collection of power management \
> +               test and investigation tools"
> +HOMEPAGE = "http://lesswatts.org/projects/acpi"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +
> +PR = “r0"

punt it.

> +
> +SRC_URI = "https://github.com/anyc/${BPN}/archive/${PV}.zip”

are they consistent now ? github could regenerate archives and invalidate the checksums.
may be it would be better to use git fetcher

> +SRC_URI[md5sum] = "98b63903e61b1145b1b17bcfef6ac0b4"
> +SRC_URI[sha256sum] = "a043a959d44d616f06dedd30e2045e8e95fed93580e2c146818b6ed3a4b6e448"
> +
> +COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
> +
> +do_configure[noexec] = "1"
> +
> +do_compile() {
> +	oe_runmake
> +}
> +
> +do_install() {
> +	install -d ${D}${bindir} ${D}${docdir}
> +	install -m 755 ${S}/acpidump/acpidump ${D}${bindir}
> +	install -m 755 ${S}/acpixtract/acpixtract ${D}${bindir}
> +	install -m 755 ${S}/madt/madt ${D}${bindir}
> +	install -m 644 ${S}/README ${D}${docdir}
> +}
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150818/52297def/attachment-0002.sig>


More information about the Openembedded-devel mailing list