blob: cdc2056e6fb9339a784bdf482cada836a0b35c86 [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 Geisslerd159c7f2021-09-02 21:05:58 -05009SRC_URI[sha256sum] = "937194af8e31e97467768ec2e3ce8d396bd1e32e8ea56df23f634485b5f14e09"
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"