summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-07-29 20:37:16 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-07-29 20:37:16 +0000
commitb09a45c409210b83151fc72edea989115736893d (patch)
treec6ce11388744592035ab6f773e2535ef6df36754 /dev-libs/angelscript
parentReally fix python deps, drop old (diff)
downloadgentoo-2-b09a45c409210b83151fc72edea989115736893d.tar.gz
gentoo-2-b09a45c409210b83151fc72edea989115736893d.tar.bz2
gentoo-2-b09a45c409210b83151fc72edea989115736893d.zip
version bump
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-libs/angelscript')
-rw-r--r--dev-libs/angelscript/ChangeLog7
-rw-r--r--dev-libs/angelscript/angelscript-2.27.0.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/angelscript/ChangeLog b/dev-libs/angelscript/ChangeLog
index 5d481879a187..8831414ac9d8 100644
--- a/dev-libs/angelscript/ChangeLog
+++ b/dev-libs/angelscript/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/angelscript
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/ChangeLog,v 1.8 2013/05/10 14:09:20 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/ChangeLog,v 1.9 2013/07/29 20:37:16 hasufell Exp $
+
+*angelscript-2.27.0 (29 Jul 2013)
+
+ 29 Jul 2013; Julian Ospald <hasufell@gentoo.org> +angelscript-2.27.0.ebuild:
+ version bump
*angelscript-2.26.3 (10 May 2013)
diff --git a/dev-libs/angelscript/angelscript-2.27.0.ebuild b/dev-libs/angelscript/angelscript-2.27.0.ebuild
new file mode 100644
index 000000000000..a974701246a5
--- /dev/null
+++ b/dev-libs/angelscript/angelscript-2.27.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.27.0.ebuild,v 1.1 2013/07/29 20:37:16 hasufell Exp $
+
+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
+S2=${WORKDIR}/sdk_static
+
+pkg_setup() {
+ tc-export CXX AR RANLIB
+}
+
+src_prepare() {
+ if use static-libs ; then
+ cp -pR "${WORKDIR}"/sdk "${S2}"/ || die
+ fi
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ einfo "Shared build"
+ emake -C ${PN}/projects/gnuc SHARED=1 VERSION=${PV}
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use static-libs ; then
+ einfo "Static build"
+ emake -C "${S2}"/${PN}/projects/gnuc
+ fi
+ fi
+}
+
+multilib_src_install() {
+ doheader ${PN}/include/angelscript.h
+ dolib.so ${PN}/lib/libangelscript-${PV}.so
+ dosym libangelscript-${PV}.so /usr/$(get_libdir)/libangelscript.so
+
+ if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if use static-libs ; then
+ dolib.a "${S2}"/${PN}/lib/libangelscript.a
+ fi
+ fi
+}
+
+multilib_src_install_all() {
+ use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
+}