From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild (limited to 'app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild') diff --git a/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild b/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild new file mode 100644 index 000000000000..4b9258115b94 --- /dev/null +++ b/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +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 +} -- cgit v1.2.3