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