diff options
author | Sam James <sam@gentoo.org> | 2024-01-02 07:55:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-02 07:56:02 +0000 |
commit | 8a1e6e5446c2729e93f1ad51a409862538ea34e9 (patch) | |
tree | f3507476f51b20660d6f03cb2904521f2d9feec7 /dev-lang/swig | |
parent | app-doc/doxygen: Stabilize 1.9.8 sparc, #915626 (diff) | |
download | gentoo-8a1e6e5446c2729e93f1ad51a409862538ea34e9.tar.gz gentoo-8a1e6e5446c2729e93f1ad51a409862538ea34e9.tar.bz2 gentoo-8a1e6e5446c2729e93f1ad51a409862538ea34e9.zip |
dev-lang/swig: add 4.2.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/swig/swig-4.2.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest index fbee050478a5..d6c7d753b607 100644 --- a/dev-lang/swig/Manifest +++ b/dev-lang/swig/Manifest @@ -1 +1,2 @@ DIST swig-4.1.1.tar.gz 8600805 BLAKE2B 898d3405f20c3e49626fb808b568e77c69b81ec2401c0a0c406f9e7a3d7d218353dc8b8ae88a3d485ddfc3be659971b961ee2c89d5b0c75aed0688e0952fd208 SHA512 1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100 +DIST swig-4.2.0.tar.gz 8339586 BLAKE2B 4f1c3c7d4b1e218b67a2d796d2171df73971036a433e5fb80233b3050f022d578efdff28fc44d98a6d176ec6270b4942f5f56e9a74bbd8b30d6836c76c620a04 SHA512 b7f508b25bc6e882ed6123f6c7ad12b02a7b74de09ac6e5789968e9c2f51407d1e3dafd5ea495087b4fb0f447ecce17e6070471479c67c4265166d8342a10862 diff --git a/dev-lang/swig/swig-4.2.0.ebuild b/dev-lang/swig/swig-4.2.0.ebuild new file mode 100644 index 000000000000..168ccf98d9b1 --- /dev/null +++ b/dev-lang/swig/swig-4.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Simplified Wrapper and Interface Generator" +HOMEPAGE="http://www.swig.org/ https://github.com/swig/swig" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ BSD BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="ccache doc pcre test" +RESTRICT="!test? ( test )" + +RDEPEND=" + pcre? ( dev-libs/libpcre2 ) + ccache? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/boost ) +" +BDEPEND="virtual/pkgconfig" + +DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) + +src_configure() { + econf \ + PKGCONFIG="$(tc-getPKG_CONFIG)" \ + $(use_enable ccache) \ + $(use_with pcre) +} + +src_test() { + # The tests won't get run w/o an explicit call, broken Makefiles? + emake check +} + +src_install() { + default + + if use doc; then + docinto html + dodoc -r Doc/{Devel,Manual} + fi +} |