aboutsummaryrefslogtreecommitdiff
path: root/recipes/help2man/help2man_1.38.2.bb
blob: cb1deb319922f0dd33602126edc72e12d21e0c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "Program to create simple man pages"
SECTION = "devel"
LICENSE = "GPLv3"
DEPENDS = "gettext-native perl-native liblocale-gettext-perl-native"
DEPENDS_virtclass-native = "perl-native autoconf-native automake-native"
RDEPENDS_${PN} = "gettext perl liblocale-gettext-perl"
PR = "r2"

SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"

SRC_URI[md5sum] = "426671c6fe79e5ef2233303367eab5a6"
SRC_URI[sha256sum] = "952c29561bce8b233aa10af7f0e0c79c8243712810bf8ddf01e6efd82ce250d1"

inherit autotools

EXTRA_OECONF = "--disable-nls"

BBCLASSEXTEND = "native"

# We don't want to reconfigure things
do_configure() {
	oe_runconf
}

do_install_append () {
	# Make sure we use /usr/bin/env perl
	sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/help2man
}