From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99232158094 for ; Thu, 29 Sep 2022 21:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FF22E0837; Thu, 29 Sep 2022 21:08:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63C17E0837 for ; Thu, 29 Sep 2022 21:08:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70BA3340E43 for ; Thu, 29 Sep 2022 21:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8C515EB for ; Thu, 29 Sep 2022 21:08:46 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1664485713.170f8a9284212b3be79d2258bd76c35bdca68fed.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/angelscript/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/angelscript/angelscript-2.36.0.ebuild X-VCS-Directories: dev-libs/angelscript/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 170f8a9284212b3be79d2258bd76c35bdca68fed X-VCS-Branch: master Date: Thu, 29 Sep 2022 21:08:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9e13083-cc3d-4fc2-a3fb-5c2f0bf8c065 X-Archives-Hash: c42783053ba4c984e68bfb5044f9d575 commit: 170f8a9284212b3be79d2258bd76c35bdca68fed Author: James Le Cuirot gentoo org> AuthorDate: Thu Sep 29 21:07:57 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Sep 29 21:08:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170f8a92 dev-libs/angelscript: I forgot the ebuild... again Signed-off-by: James Le Cuirot gentoo.org> dev-libs/angelscript/angelscript-2.36.0.ebuild | 48 ++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-libs/angelscript/angelscript-2.36.0.ebuild b/dev-libs/angelscript/angelscript-2.36.0.ebuild new file mode 100644 index 000000000000..96929201e78b --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.36.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 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" +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~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 +}