dev-libs/angelscript: version bump to 2.30.1
authorJulian Ospald <hasufell@gentoo.org>
Thu, 13 Aug 2015 14:19:04 +0000 (16:19 +0200)
committerJulian Ospald <hasufell@gentoo.org>
Thu, 13 Aug 2015 14:19:04 +0000 (16:19 +0200)
dev-libs/angelscript/Manifest
dev-libs/angelscript/angelscript-2.30.1.ebuild [new file with mode: 0644]

index a22ea1375c09f88cc639d749442f8d9d01cf0829..58592bbf118079655024a7bb13313a60856a9140 100644 (file)
@@ -1 +1,2 @@
 DIST angelscript_2.29.2.zip 1583192 SHA256 c5d549bcd2d04e0dbdfdeea1e1446a34bc9dc449efe0d6fb7fabfb98ee269a8b SHA512 76537a35bfa8f5f90d48a601f4cf1ff6cf8cd648c93b2ea17d3f0fbc7ccaa3d915bbe49d758916d0626a026ece8ecd1646bbb99db41d5a4c9f7c87d915c0d4ff WHIRLPOOL 1f24f56c7601b5f731a4e631f995668f268c26d57dce93944a758c5efd86ed651fd842b16419dad73eb8e7df641ccc5b4a226ccfc99fe1cc9a4c736e5d3076eb
+DIST angelscript_2.30.1.zip 1859238 SHA256 a492331d3ede33f96a3b882bb09fff0f71e6e9479f9b5d78fdcf08585038d583 SHA512 7669e6b9814e3fc913e84018786d5c142b5a60c5e3d5f4d01bfc2e794cf97e1fc347cb7258d7266a3b1d1f813fc6c1a2781680fbe1c1d2275e3fa1ed2a416e52 WHIRLPOOL fff8df92f53f18789d36f3023cdaeb91bbe804dd3e4f6e3ebb54f602a35b6421d0d400850d9bc4bb079cb2e1c25578e1443ecab524ba68b22af4c1f29f0a6429
diff --git a/dev-libs/angelscript/angelscript-2.30.1.ebuild b/dev-libs/angelscript/angelscript-2.30.1.ebuild
new file mode 100644 (file)
index 0000000..09f40c9
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/sdk
+
+pkg_setup() {
+       tc-export CXX AR RANLIB
+}
+
+src_prepare() {
+       multilib_copy_sources
+}
+
+multilib_src_compile() {
+       emake -C ${PN}/projects/gnuc
+}
+
+multilib_src_install() {
+       emake -C ${PN}/projects/gnuc LIBRARYDEST="${D}"/usr/$(get_libdir)/ INCLUDEDEST="${D}"/usr/include/ install
+       use static-libs || { rm "${D}"/usr/$(get_libdir)/libangelscript.a || die ; }
+}
+
+multilib_src_install_all() {
+       use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
+}