/[gentoo-x86]/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild
Gentoo

Contents of /app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 25 17:44:03 2012 UTC (5 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -7 lines
Add ~amd64

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild,v 1.1 2010/09/17 04:08:48 jer Exp $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="HTML Include System by Ulli Meybohm"
10 HOMEPAGE="http://www.meybohm.de/"
11 SRC_URI="http://meybohm.de/files/${PN}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
16 IUSE=""
17
18 S=${WORKDIR}/htmlinc
19
20 src_prepare() {
21 epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch
22 sed -i Makefile \
23 -e 's| -o | $(LDFLAGS)&|g' \
24 || die "sed Makefile"
25 }
26
27 src_compile() {
28 # This is C++ not C source
29 emake \
30 CC=$(tc-getCXX) \
31 CFLAGS="${CXXFLAGS} -Wall" \
32 LDFLAGS="${LDFLAGS}"
33 }
34
35 src_install() {
36 dobin htmlinc
37 dodoc README
38 }

  ViewVC Help
Powered by ViewVC 1.1.20