Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/yodl/
Date: Thu, 02 Feb 2017 14:11:14
Message-Id: 1486044473.1d20934855c8b80cb5ec55dcef14a93a79bfc36f.radhermit@gentoo
1 commit: 1d20934855c8b80cb5ec55dcef14a93a79bfc36f
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 2 14:07:08 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 2 14:07:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d209348
7
8 app-text/yodl: version bump to 3.08.02
9
10 app-text/yodl/Manifest | 1 +
11 app-text/yodl/yodl-3.08.02.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
12 2 files changed, 49 insertions(+)
13
14 diff --git a/app-text/yodl/Manifest b/app-text/yodl/Manifest
15 index ec03c07..e1eaa6f 100644
16 --- a/app-text/yodl/Manifest
17 +++ b/app-text/yodl/Manifest
18 @@ -1 +1,2 @@
19 DIST yodl-3.08.01.tar.gz 283634 SHA256 958497939d9f3d1c6d0e2e74f7592d5a98f9ddb6f95c50c1247e41600d2765b7 SHA512 a88ab79657661262f4ccce4fd307ba41a05bcefbb534a2b5ed84115ab592ddf3ce883747aad5c028e73142ec91815ee86e1ae16ab9d319fe2045a2b0a08ab42c WHIRLPOOL aa9d9c0d58da0d5dbda3acd4f4f5fe5867873a23fd0f133404a6be9965001c1326714fc05296fa2a91912fe011391dd51819a40d2ddecfd7d99cfd8ac833339d
20 +DIST yodl-3.08.02.tar.gz 283890 SHA256 19264d7a1ed00edaa896e41b5aeacb722a4ca79dd6958731229f1bd1d1dd91bc SHA512 adad9f6235288f0ae6990c0dbba3cd7c8461172ae83231ca8fa113275d04ad20d3722e70f6f0ffcf072a19b4816e556b9b09227123516fc4a0170bc053b48b8e WHIRLPOOL ed3b5e0cc141f6b0c84191791f86af361cddf1753c2080eb8bc7f43e0eae78d329fd00b16a98bb14f1f2d93d91aab9b3a7947e7e065fcf2b4706fbfde5d9f868
21
22 diff --git a/app-text/yodl/yodl-3.08.02.ebuild b/app-text/yodl/yodl-3.08.02.ebuild
23 new file mode 100644
24 index 00000000..f787158
25 --- /dev/null
26 +++ b/app-text/yodl/yodl-3.08.02.ebuild
27 @@ -0,0 +1,48 @@
28 +# Copyright 1999-2017 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=6
33 +
34 +inherit toolchain-funcs
35 +
36 +DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it"
37 +HOMEPAGE="https://fbb-git.github.io/yodl/ https://github.com/fbb-git/yodl"
38 +SRC_URI="https://github.com/fbb-git/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="GPL-3"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="doc"
44 +
45 +DEPEND=">=dev-util/icmake-8.00.00"
46 +
47 +S=${WORKDIR}/${P}/${PN}
48 +
49 +src_prepare() {
50 + sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \
51 + -e "/COMPILER =/s/gcc/$(tc-getCC)/" \
52 + -e "/CXX =/s/g++/$(tc-getCXX)/" \
53 + -i INSTALL.im || die
54 +
55 + sed -e "s/ar r /$(tc-getAR) r /" \
56 + -e "s/ranlib/$(tc-getRANLIB)/" \
57 + -i icmake/stdcompile || die
58 +
59 + default
60 +}
61 +
62 +src_compile() {
63 + ./build programs || die
64 + ./build macros || die
65 + ./build man || die
66 + use doc && { ./build manual || die ; }
67 +}
68 +
69 +src_install() {
70 + ./build install programs "${ED}" || die
71 + ./build install macros "${ED}" || die
72 + ./build install man "${ED}" || die
73 + ./build install docs "${ED}" || die
74 + use doc && { ./build install manual "${ED}" || die ; }
75 +}