summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-06-10 23:02:10 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2020-08-30 19:37:08 +0200
commit50f64d4ac49d2887bbb36f2c075f97715570924a (patch)
tree70578bb1335d3baa7b20896556c75252c47ea967
parentnet-firewall/shorewall: drop old (diff)
downloadgentoo-50f64d4ac49d2887bbb36f2c075f97715570924a.tar.gz
gentoo-50f64d4ac49d2887bbb36f2c075f97715570924a.tar.bz2
gentoo-50f64d4ac49d2887bbb36f2c075f97715570924a.zip
dev-lang/swig: version bump 4.0.2
Closes: https://bugs.gentoo.org/693696 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16176 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
-rw-r--r--dev-lang/swig/Manifest1
-rw-r--r--dev-lang/swig/metadata.xml1
-rw-r--r--dev-lang/swig/swig-4.0.2.ebuild38
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
index e97e9108386..f6a62946702 100644
--- a/dev-lang/swig/Manifest
+++ b/dev-lang/swig/Manifest
@@ -1,2 +1,3 @@
DIST swig-3.0.12.tar.gz 8149820 BLAKE2B 05ce913dedbbde26592619e0edc65050cb31a517f309c1188252cb8c276147cb28ebf4d8534c31b75c4ed8be5d42223b432a7318bf8eb5b2d4d528e5ff9a781b SHA512 5eaa2e06d8e4197fd02194051db1e518325dbb074a4c55a91099ad9c55193874f577764afc9029409a41bd520a95154095f26e33ef5add5c102bb2c1d98d33eb
DIST swig-4.0.0.tar.gz 8052518 BLAKE2B a34eb17d795ba5b34ea7362f8f07d6a6e82fd4394a0159fcf608ffb27580f37fc722c4907f1fd6fa3322663662f8e11fecbcb2bc7b90405834ef35d6218d65c7 SHA512 c897b87fb8b21caf8d1bee2c39cb9675a3b0ee047110e808c310a2787f8b89585738726e9f517c64e9d2f1b8311136365c569528f399b444b1081f69689b7165
+DIST swig-4.0.2.tar.gz 8097014 BLAKE2B 4c36b7e9b9bf1663779aa31b0eda8a1fe443695d945bcc1642c3404b22e45440def85e58dd65dc18a2ca8c00ffdcfe0f1d75373b7becc0b0e5402fda90b8c29a SHA512 05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed
diff --git a/dev-lang/swig/metadata.xml b/dev-lang/swig/metadata.xml
index 45e3450fa5d..6037d830853 100644
--- a/dev-lang/swig/metadata.xml
+++ b/dev-lang/swig/metadata.xml
@@ -18,6 +18,7 @@
<flag name="ccache">build ccache-swig(a fast compiler cache)</flag>
</use>
<upstream>
+ <remote-id type="github">swig/swig</remote-id>
<remote-id type="sourceforge">swig</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-lang/swig/swig-4.0.2.ebuild b/dev-lang/swig/swig-4.0.2.ebuild
new file mode 100644
index 00000000000..1990024ff9e
--- /dev/null
+++ b/dev-lang/swig/swig-4.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="ccache doc pcre"
+RESTRICT="test"
+
+DEPEND="pcre? ( dev-libs/libpcre )
+ ccache? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
+
+src_configure() {
+ econf \
+ PKGCONFIG="$(tc-getPKG_CONFIG)" \
+ $(use_enable ccache) \
+ $(use_with pcre)
+}
+
+src_install() {
+ default
+
+ if use doc; then
+ docinto html
+ dodoc -r Doc/{Devel,Manual}
+ fi
+}