blob: 3e9b509ed438e3e2d5c1467c295119bdfbec2fd2 [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 Geissler95ac1b82021-03-31 14:34:31 -05009SRC_URI[sha256sum] = "20cb36111df91d61741a20680912ab0e4c59da479c3fb05837c6f0a8cb7cb467"
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
Brad Bishopc342db32019-05-15 21:57:59 -040019do_install_append () {
20 # 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"