1 |
commit: db08f868c29048ca4feee0b9b93ec6b40b3bd915 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 13 22:45:40 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 13 22:45:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db08f868 |
7 |
|
8 |
dev-libs/angelscript: Version bump to 2.33.0, EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
dev-libs/angelscript/Manifest | 1 + |
14 |
dev-libs/angelscript/angelscript-2.33.0.ebuild | 48 ++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest |
18 |
index 03c16287f8e..322a536071e 100644 |
19 |
--- a/dev-libs/angelscript/Manifest |
20 |
+++ b/dev-libs/angelscript/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST angelscript_2.32.0.zip 1989108 BLAKE2B c922682febbef2493906a7f3420f2a3456a35ce296503d4557862686469a14728a4b515a79a23e0f498ac6488b26d2950daff11a32bfd20df82b34663a1fc553 SHA512 a88bd8e7e9f7116450ea8185642d7f6bfccf1530bff3630957839031aaed80075ecf27b9c551d4282051a8fb28d0b8814b56abf84a45d6008de2afa4019edf8e |
23 |
+DIST angelscript_2.33.0.zip 1954948 BLAKE2B 61fa597cb36142230dd07103d6782bb2e195268b664643314d4bae3908ceb530ce5661376a163cc91bb13ecd386d540554e5cce74c289983536cf7f70dc881a1 SHA512 eaf972ecf965fe4f72e55755f5e796499018e918f93cfd835b1ca20f9338e299e8dbd707240341eef81ae920f07d2280646151f515f5990a62550689445c86f0 |
24 |
|
25 |
diff --git a/dev-libs/angelscript/angelscript-2.33.0.ebuild b/dev-libs/angelscript/angelscript-2.33.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d2bea73121f |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/angelscript/angelscript-2.33.0.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit toolchain-funcs multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="A flexible, cross-platform scripting library" |
39 |
+HOMEPAGE="http://www.angelcode.com/angelscript/" |
40 |
+SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip" |
41 |
+LICENSE="ZLIB" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="doc static-libs" |
45 |
+ |
46 |
+BDEPEND="app-arch/unzip" |
47 |
+ |
48 |
+S="${WORKDIR}/sdk" |
49 |
+ |
50 |
+pkg_setup() { |
51 |
+ tc-export CXX AR RANLIB |
52 |
+} |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ multilib_copy_sources |
57 |
+} |
58 |
+ |
59 |
+multilib_src_compile() { |
60 |
+ emake -C ${PN}/projects/gnuc shared \ |
61 |
+ $(use static-libs && echo static) |
62 |
+} |
63 |
+ |
64 |
+multilib_src_install() { |
65 |
+ emake -C ${PN}/projects/gnuc \ |
66 |
+ DESTDIR="${D%/}" \ |
67 |
+ PREFIX="${EPREFIX}"/usr \ |
68 |
+ LIBDIR_DEST='$(PREFIX)'/$(get_libdir) \ |
69 |
+ install_header install_shared \ |
70 |
+ $(use static-libs && echo install_static) |
71 |
+} |
72 |
+ |
73 |
+multilib_src_install_all() { |
74 |
+ if use doc; then |
75 |
+ docinto html |
76 |
+ dodoc -r docs/* |
77 |
+ fi |
78 |
+} |