xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/help2man/help2man_1.49.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Program for creating simple man pages"
2*4882a593SmuzhiyunHOMEPAGE = "https://www.gnu.org/software/help2man/"
3*4882a593SmuzhiyunDESCRIPTION = "help2man is a tool for automatically generating simple manual pages from program output."
4*4882a593SmuzhiyunSECTION = "devel"
5*4882a593SmuzhiyunLICENSE = "GPL-3.0-only"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
9*4882a593SmuzhiyunSRC_URI[sha256sum] = "fd99a664ec4be9a86a0dd89719989f14f367a9c079d75d0e1d71e18a7bb51b03"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyuninherit autotools
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# This is a hand-maintained aclocal.m4 but our autotools class currently deletes
14*4882a593Smuzhiyun# aclocal.m4.
15*4882a593SmuzhiyunEXTRA_AUTORECONF += "--exclude=aclocal"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunEXTRA_OECONF = "--disable-nls"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyundo_install:append () {
20*4882a593Smuzhiyun	# Make sure we use /usr/bin/env perl
21*4882a593Smuzhiyun	sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/help2man
22*4882a593Smuzhiyun}
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
25