blob: d24e6c446ef58e353ea755814020be84e1ca03f0 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Program for creating simple man pages"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002HOMEPAGE = "https://www.gnu.org/software/help2man/"
3DESCRIPTION = "help2man is a tool for automatically generating simple manual pages from program output."
Brad Bishopc342db32019-05-15 21:57:59 -04004SECTION = "devel"
5LICENSE = "GPLv3"
Andrew Geissler4ed12e12020-06-05 18:00:41 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
Brad Bishopc342db32019-05-15 21:57:59 -04007
8SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
Andrew Geisslerc926e172021-05-07 16:11:35 -05009SRC_URI[sha256sum] = "8361ff3c643fbd391064e97e5f54592ca28b880eaffbf566a68e0ad800d1a8ac"
Brad Bishopc342db32019-05-15 21:57:59 -040010
Andrew Geisslerc9f78652020-09-18 14:11:35 -050011inherit autotools
12
13# This is a hand-maintained aclocal.m4 but our autotools class currently deletes
14# aclocal.m4.
15EXTRA_AUTORECONF += "--exclude=aclocal"
Brad Bishopc342db32019-05-15 21:57:59 -040016
17EXTRA_OECONF = "--disable-nls"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019do_install:append () {
Brad Bishopc342db32019-05-15 21:57:59 -040020 # Make sure we use /usr/bin/env perl
21 sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/help2man
22}
Andrew Geisslerc9f78652020-09-18 14:11:35 -050023
24BBCLASSEXTEND = "native nativesdk"