blob: bdea59d964bf880ace9e0863145f5125c942b3e3 [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 Geissler9b4d8b02021-02-19 12:26:16 -06009SRC_URI[sha256sum] = "de8a74740bd058646567b92ab4ecdeb9da9f1a07cc7c4f607a3c14dd38d10799"
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"