summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Labedan <plabedan@gmail.com>2018-04-05 16:07:15 +0200
committerPaul Labedan <plabedan@gmail.com>2018-04-05 16:07:15 +0200
commit70bddb04d680ec86be5bf5fd1fc2e26094e766e7 (patch)
tree20cbf9f753d53ed09104d6ab632ec6bb0d4dbe25
parentremove games-strategy/colobot* due to errors (diff)
downloadplab-70bddb04d680ec86be5bf5fd1fc2e26094e766e7.tar.gz
plab-70bddb04d680ec86be5bf5fd1fc2e26094e766e7.tar.bz2
plab-70bddb04d680ec86be5bf5fd1fc2e26094e766e7.zip
add swig 3.0.13 (fixes for php7)
-rw-r--r--dev-lang/swig/Manifest3
-rw-r--r--dev-lang/swig/metadata.xml27
-rw-r--r--dev-lang/swig/swig-3.0.13.ebuild44
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
new file mode 100644
index 0000000..09e027f
--- /dev/null
+++ b/dev-lang/swig/Manifest
@@ -0,0 +1,3 @@
+DIST rel-3.0.13.tar.gz 3670852 BLAKE2B 1de96ae39800c9af367c0aab653c397b18d771071b0325b4737b63eda59eeaa1ed75cae3a1ae271ae4b4418d036d56a44804723d62feca42806b759e825a6348 SHA512 94c253296109b4421d42610e61bc54e3bd0b34295be7b5cc14566b5d7396fafe23071619af5a2489c9a22f1f6493d5f55d81f7667156c8303fd0baad8ef7aa29
+EBUILD swig-3.0.13.ebuild 971 BLAKE2B d3530ec3914bea19bbf19adfe4bcf18e8d12ebfcf2c5eacd52e20861b3fddcf7c3d86e16450d115a59001ad2c1d2af94c4822d9eb9f002ed0a3d1a5f3f0897de SHA512 b31827d14058ad1e443f29c1c19d54e8077c1e91b94a33da3035b6907440c88da0744db960b8f566769353c40be038b24faf3132f36b2b4cc3707a3101e3ab88
+MISC metadata.xml 1076 BLAKE2B 5cf4602a8a3a6c27f8b5dbbc254b1ca40d6d7a9f843292181ddab8a2f7882e4248bcc8405c1e768acb1f42dde26d9d105fddd61e14d4154a80ecde1e4190e132 SHA512 ca1468d9c5e22b88727c0f807a3d8cf427793c72f713c96de0f0bbc6ca0144db5280f8cb76eedaf7680fcea851d2c276009e16afaf1b43dd5b14d9832ba0ae78
diff --git a/dev-lang/swig/metadata.xml b/dev-lang/swig/metadata.xml
new file mode 100644
index 0000000..3b69f7b
--- /dev/null
+++ b/dev-lang/swig/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ SWIG is a software development tool that connects programs written in C and C++
+ with a variety of high-level programming languages. SWIG is used with different
+ types of languages including common scripting languages such as Perl, Python,
+ Tcl/Tk and Ruby. The list of supported languages also includes non-scripting
+ languages such as C#, Common Lisp (Allegro CL), Java, Modula-3 and OCAML. Also
+ several interpreted and compiled Scheme implementations (Chicken, Guile,
+ MzScheme) are supported.
+ </longdescription>
+ <use>
+ <flag name="ccache">build ccache-swig(a fast compiler cache)</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">swig</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-lang/swig/swig-3.0.13.ebuild b/dev-lang/swig/swig-3.0.13.ebuild
new file mode 100644
index 0000000..62ba674
--- /dev/null
+++ b/dev-lang/swig/swig-3.0.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Simplified Wrapper and Interface Generator"
+HOMEPAGE="http://www.swig.org/"
+SRC_URI="https://github.com/pol51/swig/archive/rel-${PV}.tar.gz"
+
+LICENSE="GPL-3+ BSD BSD-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~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 )
+
+S="${WORKDIR}/swig-rel-${PV}"
+
+src_prepare() {
+ eapply_user
+ ./autogen.sh
+}
+
+src_configure() {
+ econf \
+ $(use_enable ccache) \
+ $(use_with pcre)
+}
+
+src_install() {
+ default
+
+ if use doc; then
+ docinto html
+ dodoc -r Doc/{Devel,Manual}
+ fi
+}