commit: 17a390643654410d20262cec3446dcf38495dfa0 Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Sun Jul 28 12:18:43 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sun Aug 4 07:17:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a39064
app-text/htmlrecode: bump EAPI, fix QA issues Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Closes: https://github.com/gentoo/gentoo/pull/37761 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-text/htmlrecode/htmlrecode-1.3.1-r2.ebuild | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/app-text/htmlrecode/htmlrecode-1.3.1-r2.ebuild b/app-text/htmlrecode/htmlrecode-1.3.1-r2.ebuild new file mode 100644 index 000000000000..36dd29809cda --- /dev/null +++ b/app-text/htmlrecode/htmlrecode-1.3.1-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Recodes HTML file using a new character set" +HOMEPAGE="https://bisqwit.iki.fi/source/htmlrecode.html" +SRC_URI="https://bisqwit.iki.fi/src/arch/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +PATCHES=( "${FILESDIR}/${P}-ar.patch" ) + +src_prepare() { + touch .depend argh/.depend || die + default +} + +src_configure() { :; } + +src_compile() { + local makeopts=( + AR="$(tc-getAR)" + CPPDEBUG= + CXX="$(tc-getCXX)" + CXXFLAGS="${CXXFLAGS}" + LDFLAGS="${LDFLAGS}" + ) + emake "${makeopts[@]}" -C argh libargh.a + emake "${makeopts[@]}" htmlrecode +} + +src_install() { + dobin htmlrecode + dodoc README.html +}
