diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-02 08:48:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-02 08:48:32 +0000 |
commit | e12724a13a1677867978f5ecd7fabda4eb1e3aa8 (patch) | |
tree | c4a7ae297f78e8e1302dc99fe9b664b7f34ce937 /dev-lang/swig | |
parent | b46ba5cce8bd84d9a74b39923d9cdb29659cf662 (diff) |
gentoo auto-resync : 02:01:2024 - 08:48:32
Diffstat (limited to 'dev-lang/swig')
-rw-r--r-- | dev-lang/swig/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/swig/swig-4.2.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest index 4f1fc1a03dfa..923cc05bfc3e 100644 --- a/dev-lang/swig/Manifest +++ b/dev-lang/swig/Manifest @@ -1,4 +1,6 @@ AUX swig-4.1.1-ccache-configure-clang16.patch 1162 BLAKE2B 28889128bfd9a6cd883d575f1cae8dd0f3e02b7ebfc8818b761154a60a79757d2f13c26f43119a0288c9731c56c5bbacfb1606222d5697e0fc04e6b3e2ebf265 SHA512 aa7fc3bc4da18dcdfa2c6dec55c6c80174878ee05883ed4eab6bf35c75c88edd165977cc1ea4e1d503f40f99bd7b40688357ec7283c20542e87c961efcd71526 DIST swig-4.1.1.tar.gz 8600805 BLAKE2B 898d3405f20c3e49626fb808b568e77c69b81ec2401c0a0c406f9e7a3d7d218353dc8b8ae88a3d485ddfc3be659971b961ee2c89d5b0c75aed0688e0952fd208 SHA512 1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100 +DIST swig-4.2.0.tar.gz 8339586 BLAKE2B 4f1c3c7d4b1e218b67a2d796d2171df73971036a433e5fb80233b3050f022d578efdff28fc44d98a6d176ec6270b4942f5f56e9a74bbd8b30d6836c76c620a04 SHA512 b7f508b25bc6e882ed6123f6c7ad12b02a7b74de09ac6e5789968e9c2f51407d1e3dafd5ea495087b4fb0f447ecce17e6070471479c67c4265166d8342a10862 EBUILD swig-4.1.1-r1.ebuild 1285 BLAKE2B 28571be1c861019f514862560193f628b10a05400118842ca508ab021172f3b03f3ccd14241bcef097e1efb349392520996c0fd9028a97b28154572920a2ec01 SHA512 18fb9c67ee8cc305bf5c1630cc875aafc4ad487fad6fbf58bb8616b10659adca752460b5cb13043c1689f4adf97aef80dc2dd904633e58e340220c58b364e199 +EBUILD swig-4.2.0.ebuild 1077 BLAKE2B 999d74482adb9a14f2078f288a2f5031ea437f7587ca4ec6155068d30655b28a255aaee221d06b7b943279ed0c29db9b5098dc079ca6119f7e0f85edda7e46cd SHA512 18c9ff68d9218a40f345bf56cf8680a53be5c4394501250099cae77b58f35e5c5a8ae5143c0b05552f5d501be8dbd9efd85b85ad95031df27667ed6d16105b74 MISC metadata.xml 1019 BLAKE2B 1f6a79945d3bb92bd9b5c06f7b4e96c8c9f8f6e68d5c13890247d2c08adf46409a194e3198fb3df19f699a176fe92bebc1e7ba6eb0944a0db12c5e3271043552 SHA512 5ba26e3670ba852648a243f14efe096e52781418eb4d07cabc1bcf46efcd098d099ecbb3d504862540db796279fd855a581d60dd3b1de2f60e9d542e3ccb9b00 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 +} |