1 |
commit: 520dc661d23e781129f034cd575a33c4469b0320 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 17:31:12 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 30 17:34:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520dc661 |
7 |
|
8 |
app-text/yodl: version bump to 4.02.01 |
9 |
|
10 |
Update metadata to note move from github to gitlab. |
11 |
|
12 |
app-text/yodl/Manifest | 1 + |
13 |
app-text/yodl/metadata.xml | 3 +-- |
14 |
app-text/yodl/yodl-4.02.01.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 50 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-text/yodl/Manifest b/app-text/yodl/Manifest |
18 |
index 15d5396a042..fea328b3ed9 100644 |
19 |
--- a/app-text/yodl/Manifest |
20 |
+++ b/app-text/yodl/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST yodl-4.01.00.tar.gz 288932 BLAKE2B 71491eaedae9cf0b6bc65f1da3065bc2a90e9ff5f527cbac66a714c761e679600635f7f10b0f20b7e1a15413c1930ee6e64e5ec083226058b6c8822e4a445437 SHA512 f195dec8e03b83561b47f9bd00fbb0fe711bbc254c32413d748587d8bf3848e050b90a2140977bec5a335021b2ef49ec5a6b0ca89f1649def495d81c3e7b437f |
23 |
DIST yodl-4.02.00.tar.gz 308567 BLAKE2B bf64ff7248ddcdc17dec23fe4407c28edf604b76746f13e97dfbb470421c15ca6235747c9ef349925a0293f8503d319a637a11352a2987f161fb2bcab60ddf7e SHA512 ca3a2490bf54a0ce4e800a62a3de9a5cf37df96f0f553de89623ef6d36f07b65b7c09168e77d267d7fb79d900a8e8a6c6d3c17c4b733345001213f5450c02b13 |
24 |
+DIST yodl-4.02.01.tar.gz 308670 BLAKE2B f94c094f17ec99e66f64a704e41814274f61128ff21b11077d772874dcbc9f15fbc878df8831e7f73d9b6c89a497462c694bc0bdb6cd5637c0db08303e3838d5 SHA512 59e23bb173786b8806f56bf302dee9d8d971d0d840c609e2b24d9783b5866fca2509be844616318f9a4f302117b3a41f620be5cba09181e7ccdcf0c141402be7 |
25 |
|
26 |
diff --git a/app-text/yodl/metadata.xml b/app-text/yodl/metadata.xml |
27 |
index 80759087b9c..dbb763b1ee5 100644 |
28 |
--- a/app-text/yodl/metadata.xml |
29 |
+++ b/app-text/yodl/metadata.xml |
30 |
@@ -6,7 +6,6 @@ |
31 |
<name>Tim Harder</name> |
32 |
</maintainer> |
33 |
<upstream> |
34 |
- <remote-id type="sourceforge">yodl</remote-id> |
35 |
- <remote-id type="github">fbb-git/yodl</remote-id> |
36 |
+ <remote-id type="gitlab">fbb-git/yodl</remote-id> |
37 |
</upstream> |
38 |
</pkgmetadata> |
39 |
|
40 |
diff --git a/app-text/yodl/yodl-4.02.01.ebuild b/app-text/yodl/yodl-4.02.01.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..3ea825807fc |
43 |
--- /dev/null |
44 |
+++ b/app-text/yodl/yodl-4.02.01.ebuild |
45 |
@@ -0,0 +1,48 @@ |
46 |
+# Copyright 1999-2018 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=6 |
50 |
+ |
51 |
+inherit toolchain-funcs |
52 |
+ |
53 |
+DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it" |
54 |
+HOMEPAGE="https://fbb-git.gitlab.io/yodl/ https://gitlab.com/fbb-git/yodl" |
55 |
+SRC_URI="https://gitlab.com/fbb-git/${PN}/-/archive/${PV}/${P}.tar.gz" |
56 |
+ |
57 |
+LICENSE="GPL-3" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~x86" |
60 |
+IUSE="doc" |
61 |
+ |
62 |
+DEPEND=">=dev-util/icmake-8.00.00" |
63 |
+ |
64 |
+S=${WORKDIR}/${P}/${PN} |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \ |
68 |
+ -e "/COMPILER =/s/gcc/$(tc-getCC)/" \ |
69 |
+ -e "/CXX =/s/g++/$(tc-getCXX)/" \ |
70 |
+ -i INSTALL.im || die |
71 |
+ sed -i "s/g++/$(tc-getCXX)/" verbinsert/icmconf || die |
72 |
+ |
73 |
+ sed -e "s/ar r /$(tc-getAR) r /" \ |
74 |
+ -e "s/ranlib/$(tc-getRANLIB)/" \ |
75 |
+ -i icmake/stdcompile || die |
76 |
+ |
77 |
+ default |
78 |
+} |
79 |
+ |
80 |
+src_compile() { |
81 |
+ ./build programs || die |
82 |
+ ./build macros || die |
83 |
+ ./build man || die |
84 |
+ use doc && { ./build manual || die ; } |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ ./build install programs "${ED}" || die |
89 |
+ ./build install macros "${ED}" || die |
90 |
+ ./build install man "${ED}" || die |
91 |
+ ./build install docs "${ED}" || die |
92 |
+ use doc && { ./build install manual "${ED}" || die ; } |
93 |
+} |