summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-06-24 16:53:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-06 23:47:55 +0200
commit3b93411d2e401cbd569f2f4390061964652ad0a0 (patch)
treea6ddd1c5eb72ca939fd1071e9e7f8cbde27ce96d /app-text
parentapp-text/htmlrecode: use HTTPs (diff)
downloadgentoo-3b93411d2e401cbd569f2f4390061964652ad0a0.tar.gz
gentoo-3b93411d2e401cbd569f2f4390061964652ad0a0.tar.bz2
gentoo-3b93411d2e401cbd569f2f4390061964652ad0a0.zip
app-text/htmlrecode: EAPI7, improve ebuild
Diffstat (limited to 'app-text')
-rw-r--r--app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
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
+}