diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-09-30 22:50:02 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-09-30 22:50:52 +0100 |
commit | 8ca18dffa823d938a6755b9986252c36d73f446d (patch) | |
tree | dd9674d9f7bf80ec011b1d36a4c3a5e3036ad6d0 /dev-libs | |
parent | dev-libs/angelscript: Drop old 2.36.0 (diff) | |
download | gentoo-8ca18dffa823d938a6755b9986252c36d73f446d.tar.gz gentoo-8ca18dffa823d938a6755b9986252c36d73f446d.tar.bz2 gentoo-8ca18dffa823d938a6755b9986252c36d73f446d.zip |
dev-libs/angelscript: Version bump to 2.37.0
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/angelscript/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/angelscript/angelscript-2.37.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest index 44992eff18dd..0c07ede56d02 100644 --- a/dev-libs/angelscript/Manifest +++ b/dev-libs/angelscript/Manifest @@ -1 +1,2 @@ DIST angelscript_2.36.1.zip 2011471 BLAKE2B 81cd147b7e78abe9a8a342ca3c88191cf1eb0e50f78bcd8c1f2ab36e31eadc3260373159ea084cfe9140897df5187ac268d9624b5f8613564e1d6982b1178a54 SHA512 d6d213ce72135c89e47e67521f654611ff67673f3decd9db3da4b7bf317a04a3f91c5c6ae36658ec3f2b20498facd069af02a91255a24ec79c96d8c90d6b554e +DIST angelscript_2.37.0.zip 2028172 BLAKE2B 71d944c2ef9590ea2f29009bbd7f1aa9610343455f64319a18821662a0c3624f90af4213463b6e6579108215489375913206d14d84fe1dfa84da4c14d5f8ea89 SHA512 ba7d88a42e1443fd12196da723538b24d999bc7ade92c0231237e4c5b8b0cb586931262c941898c62f454fd453d653724c74b6857e8a43eea6e34669795fc9cd diff --git a/dev-libs/angelscript/angelscript-2.37.0.ebuild b/dev-libs/angelscript/angelscript-2.37.0.ebuild new file mode 100644 index 000000000000..a1dff9291168 --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.37.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S="${WORKDIR}/sdk" +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc static-libs" + +BDEPEND="app-arch/unzip" + +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 +} |