You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/htmlrecode/htmlrecode-1.3.1.ebuild

45 lines
799 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils 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=""
DEPEND=">=sys-apps/sed-4"
RDEPEND=""
src_prepare() {
epatch "${FILESDIR}/${P}-ar.patch"
touch .depend argh/.depend
}
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
dohtml README.html
}