diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-05-10 14:09:20 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-05-10 14:09:20 +0000 |
commit | 3ff485b182dfa6ea3da9c58c3a55256ab0206c7e (patch) | |
tree | 05d1aeab081204682c3d7076adc6c5b20cbd35e0 | |
parent | Fix dependency. (diff) | |
download | gentoo-2-3ff485b182dfa6ea3da9c58c3a55256ab0206c7e.tar.gz gentoo-2-3ff485b182dfa6ea3da9c58c3a55256ab0206c7e.tar.bz2 gentoo-2-3ff485b182dfa6ea3da9c58c3a55256ab0206c7e.zip |
version bump
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
-rw-r--r-- | dev-libs/angelscript/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/angelscript/angelscript-2.26.3.ebuild | 60 |
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/angelscript/ChangeLog b/dev-libs/angelscript/ChangeLog index 2da2536126d9..5d481879a187 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.7 2013/05/04 22:05:59 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/ChangeLog,v 1.8 2013/05/10 14:09:20 hasufell Exp $ + +*angelscript-2.26.3 (10 May 2013) + + 10 May 2013; Julian Ospald <hasufell@gentoo.org> +angelscript-2.26.3.ebuild: + version bump *angelscript-2.26.2-r1 (04 May 2013) diff --git a/dev-libs/angelscript/angelscript-2.26.3.ebuild b/dev-libs/angelscript/angelscript-2.26.3.ebuild new file mode 100644 index 000000000000..828a079f5f8e --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.26.3.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.26.3.ebuild,v 1.1 2013/05/10 14:09:20 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/* +} |