Magellan Linux

Annotation of /smage/trunk/core/swig/swig-3.0.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8309 - (hide annotations) (download)
Thu Jan 14 15:35:15 2016 UTC (8 years, 3 months ago) by niro
File size: 1058 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 niro 8309 SDEPEND=">= virtual/sed
18     >= dev-libs/libpcre-dev-8.36"
19 niro 8308
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     }