Annotation of /smage/trunk/core/swig/swig-3.0.8-r1.smage2
Parent Directory | Revision Log
Revision 8308 -
(hide annotations)
(download)
Thu Jan 14 15:34:06 2016 UTC (8 years, 3 months ago) by niro
File size: 1028 byte(s)
Thu Jan 14 15:34:06 2016 UTC (8 years, 3 months ago) by niro
File size: 1028 byte(s)
auto added: ver bump to 3.0.8-r1
1 | niro | 8308 | # $Id$ |
2 | |||
3 | PNAME="swig" | ||
4 | PVER="3.0.8" | ||
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-lang/python-2.7 | ||
13 | >= dev-lang/perl-5.20.1 | ||
14 | >= dev-libs/libpcre-8.36 | ||
15 | >= sys-libs/libstdc++-5.3" | ||
16 | |||
17 | SDEPEND=">= virtual/sed" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | msetfeature "!check" | ||
24 | |||
25 | SRC_URI=( | ||
26 | sourceforge://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" | ||
31 | |||
32 | # note1: build only with python, java, perl, ruby, tcl support | ||
33 | # left out: guile, lua, mono, ocaml, php, pike | ||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | # swig doesn't like any CFLAGS | ||
39 | unset CXXFLAGS | ||
40 | unset CFLAGS | ||
41 | |||
42 | mconfigure \ | ||
43 | --with-python \ | ||
44 | --without-java \ | ||
45 | --without-ruby \ | ||
46 | --with-perl5=/usr/bin/perl \ | ||
47 | --without-tcl \ | ||
48 | --without-guile \ | ||
49 | --without-php4 \ | ||
50 | --without-ocaml \ | ||
51 | --without-pike \ | ||
52 | --without-csharp \ | ||
53 | --without-lua \ | ||
54 | || die | ||
55 | |||
56 | # we don't have lisp-plt | ||
57 | PLT="" | ||
58 | |||
59 | mmake || die | ||
60 | } |