summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-01-13 22:45:40 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-01-13 22:45:40 +0000
commitdb08f868c29048ca4feee0b9b93ec6b40b3bd915 (patch)
tree5d582566e963d39f1eb0c31594c205c5ca6a7880 /dev-libs/angelscript
parentdev-cpp/htmlcxx: Drop old 0.86 (diff)
downloadgentoo-db08f868c29048ca4feee0b9b93ec6b40b3bd915.tar.gz
gentoo-db08f868c29048ca4feee0b9b93ec6b40b3bd915.tar.bz2
gentoo-db08f868c29048ca4feee0b9b93ec6b40b3bd915.zip
dev-libs/angelscript: Version bump to 2.33.0, EAPI 7
Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/angelscript')
-rw-r--r--dev-libs/angelscript/Manifest1
-rw-r--r--dev-libs/angelscript/angelscript-2.33.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest
index 03c16287f8eb..322a536071ea 100644
--- a/dev-libs/angelscript/Manifest
+++ b/dev-libs/angelscript/Manifest
@@ -1 +1,2 @@
DIST angelscript_2.32.0.zip 1989108 BLAKE2B c922682febbef2493906a7f3420f2a3456a35ce296503d4557862686469a14728a4b515a79a23e0f498ac6488b26d2950daff11a32bfd20df82b34663a1fc553 SHA512 a88bd8e7e9f7116450ea8185642d7f6bfccf1530bff3630957839031aaed80075ecf27b9c551d4282051a8fb28d0b8814b56abf84a45d6008de2afa4019edf8e
+DIST angelscript_2.33.0.zip 1954948 BLAKE2B 61fa597cb36142230dd07103d6782bb2e195268b664643314d4bae3908ceb530ce5661376a163cc91bb13ecd386d540554e5cce74c289983536cf7f70dc881a1 SHA512 eaf972ecf965fe4f72e55755f5e796499018e918f93cfd835b1ca20f9338e299e8dbd707240341eef81ae920f07d2280646151f515f5990a62550689445c86f0
diff --git a/dev-libs/angelscript/angelscript-2.33.0.ebuild b/dev-libs/angelscript/angelscript-2.33.0.ebuild
new file mode 100644
index 000000000000..d2bea73121f6
--- /dev/null
+++ b/dev-libs/angelscript/angelscript-2.33.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs multilib-minimal
+
+DESCRIPTION="A flexible, cross-platform scripting library"
+HOMEPAGE="http://www.angelcode.com/angelscript/"
+SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
+LICENSE="ZLIB"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/sdk"
+
+pkg_setup() {
+ tc-export CXX AR RANLIB
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake -C ${PN}/projects/gnuc shared \
+ $(use static-libs && echo static)
+}
+
+multilib_src_install() {
+ emake -C ${PN}/projects/gnuc \
+ DESTDIR="${D%/}" \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR_DEST='$(PREFIX)'/$(get_libdir) \
+ install_header install_shared \
+ $(use static-libs && echo install_static)
+}
+
+multilib_src_install_all() {
+ if use doc; then
+ docinto html
+ dodoc -r docs/*
+ fi
+}