diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-06 03:19:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-06 03:19:10 +0000 |
commit | 30c2cb2c8971dc95b672303f9191d166d622fe47 (patch) | |
tree | b00c94cf0768a52995a5c08513a56ceae48aeb26 /sys-apps/man2html/man2html-1.6g-r2.ebuild | |
parent | ca3d7bcb3126761ac24ef4642964d7e16b1df428 (diff) |
gentoo auto-resync : 06:11:2022 - 03:19:10
Diffstat (limited to 'sys-apps/man2html/man2html-1.6g-r2.ebuild')
-rw-r--r-- | sys-apps/man2html/man2html-1.6g-r2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sys-apps/man2html/man2html-1.6g-r2.ebuild b/sys-apps/man2html/man2html-1.6g-r2.ebuild new file mode 100644 index 000000000000..e9d4766f3b43 --- /dev/null +++ b/sys-apps/man2html/man2html-1.6g-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +MY_P="man-${PV}" + +DESCRIPTION="Standard commands to read man pages" +HOMEPAGE="http://primates.ximian.com/~flucifredi/man/" +SRC_URI="http://primates.ximian.com/~flucifredi/man/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="!sys-apps/man" + +PATCHES=( + "${FILESDIR}"/man-1.6f-man2html-compression-2.patch + "${FILESDIR}"/man-1.6-cross-compile.patch + "${FILESDIR}"/man-1.6g-compress.patch #205147 + "${FILESDIR}"/man-1.6g-clang-15-configure.patch +) + +src_configure() { + tc-export CC BUILD_CC + + # Just a stub to disable configure check. man2html doesn't use it. + export COMPRESS=true + edo ./configure \ + -confdir=/etc \ + +sgid +fhs \ + +lang none +} + +src_compile() { + emake {src,man2html}/Makefile + emake -C src version.h + emake -C man2html +} + +src_install() { + # A little faster to run this by hand than `emake install`. + cd man2html || die + + dobin man2html + doman man2html.1 + dodoc README TODO +} |