/[gentoo-x86]/app-text/yodl/yodl-3.04.00.ebuild
Gentoo

Contents of /app-text/yodl/yodl-3.04.00.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 17 03:54:39 2014 UTC (4 years, 2 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -1 lines
Respect CXX.

(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/yodl/yodl-3.04.00.ebuild,v 1.1 2014/10/08 02:06:59 radhermit Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it"
10 HOMEPAGE="http://yodl.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.orig.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="doc"
17
18 DEPEND="dev-util/icmake"
19
20 src_prepare() {
21 sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \
22 -e "/COMPILER =/s/gcc/$(tc-getCC)/" \
23 -e "/CXX =/s/g++/$(tc-getCXX)/" \
24 -i INSTALL.im || die
25
26 sed -e "s/ar ru/$(tc-getAR) ru/" \
27 -e "s/ranlib/$(tc-getRANLIB)/" \
28 -i icmake/stdcompile || die
29 }
30
31 src_compile() {
32 ./build programs || die
33 ./build man || die
34 use doc && { ./build manual || die ; }
35 ./build macros || die
36 }
37
38 src_install() {
39 ./build install programs "${ED}" || die
40 ./build install man "${ED}" || die
41 ./build install macros "${ED}" || die
42 ./build install docs "${ED}" || die
43 use doc && { ./build install manual "${ED}" || die ; }
44 }

  ViewVC Help
Powered by ViewVC 1.1.20