diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-09-30 23:02:40 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-09-30 23:02:40 +0100 |
commit | c393e0511b23fd2e62a4a5ebb79b7b5b214665d7 (patch) | |
tree | 879e8645f71fb0fe96492ae6118d91a0edc8d5b2 /dev-libs/angelscript/angelscript-2.34.0.ebuild | |
parent | net-misc/curl: Move some dependencies into BDEPEND for EAPI 7 (diff) | |
download | gentoo-c393e0511b23fd2e62a4a5ebb79b7b5b214665d7.tar.gz gentoo-c393e0511b23fd2e62a4a5ebb79b7b5b214665d7.tar.bz2 gentoo-c393e0511b23fd2e62a4a5ebb79b7b5b214665d7.zip |
dev-libs/angelscript: Bump to 2.34.0, drop old 2.33.0
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/angelscript/angelscript-2.34.0.ebuild')
-rw-r--r-- | dev-libs/angelscript/angelscript-2.34.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/angelscript/angelscript-2.34.0.ebuild b/dev-libs/angelscript/angelscript-2.34.0.ebuild new file mode 100644 index 000000000000..d2bea73121f6 --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.34.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 +} |