Annotation of /trunk/extras/swig/swig-4.0.1-r1.smage2
Parent Directory | Revision Log
Revision 33226 -
(hide annotations)
(download)
Sat Oct 19 13:40:18 2019 UTC (4 years, 6 months ago) by niro
File size: 1155 byte(s)
Sat Oct 19 13:40:18 2019 UTC (4 years, 6 months ago) by niro
File size: 1155 byte(s)
auto added: ver bump to 4.0.1-r1
1 | niro | 33226 | # $Id$ |
2 | |||
3 | PNAME="swig" | ||
4 | PVER="4.0.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-lang" | ||
8 | |||
9 | DESCRIPTION="Simplified Wrapper and Interface Generator." | ||
10 | HOMEPAGE="http://www.swig.org/" | ||
11 | |||
12 | DEPEND=">= dev-libs/libpcre-8.43 | ||
13 | >= sys-libs/libstdc++-9.2" | ||
14 | |||
15 | SDEPEND=">= dev-lang/python-2.7 | ||
16 | >= virtual/java | ||
17 | >= dev-lang/perl-5.30 | ||
18 | >= dev-lang/tcl-8.6 | ||
19 | >= dev-lang/ruby-2.6" | ||
20 | |||
21 | SDEPEND=">= virtual/sed" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude mbuild | ||
27 | msetfeature "!check" | ||
28 | |||
29 | SRC_URI=( | ||
30 | sourceforge://${PNAME}/${SRCFILE} | ||
31 | mirror://${PNAME}/${SRCFILE} | ||
32 | ) | ||
33 | |||
34 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" | ||
35 | |||
36 | # note1: build only with python, java, perl, ruby, tcl support | ||
37 | # left out: guile, lua, mono, ocaml, php, pike | ||
38 | src_compile() | ||
39 | { | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | # swig doesn't like any CFLAGS | ||
43 | unset CXXFLAGS | ||
44 | unset CFLAGS | ||
45 | |||
46 | mconfigure \ | ||
47 | --with-python \ | ||
48 | --with-java=${JAVA_HOME} \ | ||
49 | --with-javaincl=${JAVA_HOME}/include \ | ||
50 | --with-ruby=/usr/bin/ruby \ | ||
51 | --with-perl5=/usr/bin/perl \ | ||
52 | --with-tcl \ | ||
53 | --without-guile \ | ||
54 | --without-php4 \ | ||
55 | --without-ocaml \ | ||
56 | --without-pike \ | ||
57 | --without-csharp \ | ||
58 | --without-lua \ | ||
59 | || die | ||
60 | |||
61 | # we don't have lisp-plt | ||
62 | PLT="" | ||
63 | |||
64 | mmake || die | ||
65 | } |