diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-07-15 11:49:33 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:36 +0100 |
commit | 627a2f5cbf0219dd436e3dd0dba3a887d2fe1872 (patch) | |
tree | 7ef6d055604d9fe84bfa6e7f49a3426081ccedb3 /meta | |
parent | 4e774836a4ad9b832aa594167fd97023c1b6870c (diff) | |
download | poky-627a2f5cbf0219dd436e3dd0dba3a887d2fe1872.tar.gz |
help2man-native: Add 1.38.2
This is a 'side port' of current oe.dev versions. PR is kept in sync
but we drop out the target recipes in order to punt on potential perl
problems. Here we do re-configure as we don't have a dance with
perl-native to deal with. Now that we can build it, don't require it.
(From OE-Core rev: 9673d7aa1f9e1c88ba69047b2e22636c755edaaa)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/help2man/help2man-native_1.38.2.bb | 25 |
2 files changed, 26 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 28c9ecd901..acda1a9e46 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -209,7 +209,7 @@ def check_sanity(e): | |||
209 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): | 209 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): |
210 | missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True) | 210 | missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True) |
211 | 211 | ||
212 | required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio" | 212 | required_utilities = "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio" |
213 | 213 | ||
214 | if "qemu-native" in assume_provided: | 214 | if "qemu-native" in assume_provided: |
215 | if not check_app_exists("qemu-arm", e.data): | 215 | if not check_app_exists("qemu-arm", e.data): |
diff --git a/meta/recipes-devtools/help2man/help2man-native_1.38.2.bb b/meta/recipes-devtools/help2man/help2man-native_1.38.2.bb new file mode 100644 index 0000000000..bea7fe9b1f --- /dev/null +++ b/meta/recipes-devtools/help2man/help2man-native_1.38.2.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "Program to create simple man pages" | ||
2 | SECTION = "devel" | ||
3 | LICENSE = "GPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
5 | DEPENDS = "autoconf-native automake-native" | ||
6 | PR = "r2" | ||
7 | |||
8 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
9 | SRC_URI[md5sum] = "426671c6fe79e5ef2233303367eab5a6" | ||
10 | SRC_URI[sha256sum] = "952c29561bce8b233aa10af7f0e0c79c8243712810bf8ddf01e6efd82ce250d1" | ||
11 | |||
12 | inherit autotools native | ||
13 | |||
14 | EXTRA_OECONF = "--disable-nls" | ||
15 | |||
16 | # We don't want to reconfigure things as it would require 'perlnative' to be | ||
17 | # used. | ||
18 | do_configure() { | ||
19 | oe_runconf | ||
20 | } | ||
21 | |||
22 | do_install_append () { | ||
23 | # Make sure we use /usr/bin/env perl | ||
24 | sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/help2man | ||
25 | } | ||