diff options
Diffstat (limited to 'app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild')
-rw-r--r-- | app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild b/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild new file mode 100644 index 000000000000..6fba64918e0c --- /dev/null +++ b/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="HTML Include System by Ulli Meybohm" +HOMEPAGE="http://www.meybohm.de/" +SRC_URI="http://meybohm.de/files/${PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +S=${WORKDIR}/htmlinc + +src_prepare() { + epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch + sed -i Makefile \ + -e 's| -o | $(LDFLAGS)&|g' \ + || die "sed Makefile" +} + +src_compile() { + # This is C++ not C source + emake \ + CC=$(tc-getCXX) \ + CFLAGS="${CXXFLAGS} -Wall" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin htmlinc + dodoc README +} |