From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 349FD138334 for ; Fri, 6 Jul 2018 21:48:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68551E0986; Fri, 6 Jul 2018 21:48:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0394E098F for ; Fri, 6 Jul 2018 21:48:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A210335C95 for ; Fri, 6 Jul 2018 21:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49FAD366 for ; Fri, 6 Jul 2018 21:48:25 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1530913675.3b93411d2e401cbd569f2f4390061964652ad0a0.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/htmlrecode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild X-VCS-Directories: app-text/htmlrecode/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3b93411d2e401cbd569f2f4390061964652ad0a0 X-VCS-Branch: master Date: Fri, 6 Jul 2018 21:48:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 890cd485-1fba-4b5f-8acd-c42e71745f19 X-Archives-Hash: a73c8f3f3f1b326b11da54abea99073d commit: 3b93411d2e401cbd569f2f4390061964652ad0a0 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Jun 24 14:53:33 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jul 6 21:47:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b93411d app-text/htmlrecode: EAPI7, improve ebuild app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) 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 00000000000..4b9258115b9 --- /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 +}