1 |
commit: 1607416ed0580c71878c25e28ad2c3814b1ac4bb |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 6 18:57:28 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 9 22:21:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1607416e |
7 |
|
8 |
dev-lang/mozart-stdlib: EAPI7, improve ebuild. |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
.../mozart-stdlib/mozart-stdlib-1.4.0-r2.ebuild | 35 ++++++++++++++++++++++ |
14 |
1 file changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r2.ebuild b/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..5ea3d580e6a |
19 |
--- /dev/null |
20 |
+++ b/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r2.ebuild |
21 |
@@ -0,0 +1,35 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+MY_P="mozart-${PV}.20080704-std" |
28 |
+ |
29 |
+DESCRIPTION="The Mozart Standard Library" |
30 |
+HOMEPAGE="https://mozart.github.io/ https://github.com/mozart/mozart" |
31 |
+SRC_URI="mirror://sourceforge/project/mozart-oz/v1/1.4.0-2008-07-02-tar/${MY_P}.tar.gz" |
32 |
+LICENSE="Mozart" |
33 |
+ |
34 |
+SLOT="0" |
35 |
+KEYWORDS="-amd64 ~ppc -ppc64 ~x86" |
36 |
+ |
37 |
+DEPEND="dev-lang/mozart" |
38 |
+RDEPEND="${DEPEND}" |
39 |
+ |
40 |
+S="${WORKDIR}"/${MY_P} |
41 |
+ |
42 |
+PATCHES=( "${FILESDIR}"/${P}-ozload.patch |
43 |
+ "${FILESDIR}"/${P}-docroot.patch ) |
44 |
+ |
45 |
+src_install() { |
46 |
+ emake \ |
47 |
+ PREFIX="${D}"/usr/lib/mozart \ |
48 |
+ DOCROOT="${D}"/usr/share/doc/${PF} \ |
49 |
+ install |
50 |
+ |
51 |
+ dosym /usr/lib/mozart/bin/ozmake /usr/bin/ozmake |
52 |
+ |
53 |
+ doman ozmake/ozmake.1 |
54 |
+ docinto mozart-ozmake |
55 |
+ dodoc ozmake/{DESIGN,NOTES,README} |
56 |
+} |