Magellan Linux

Annotation of /trunk/core/swig/swig-1.3.36-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 855 - (hide annotations) (download)
Fri Dec 26 12:13:29 2008 UTC (15 years, 5 months ago) by niro
File size: 1285 byte(s)
-ver bump to 1.3.36-r1
1 niro 855 # $Header: /magellan-cvs/smage/swig/swig-1.3.34-r1.smage2,v 1.1 2008/03/20 07:48:16 niro Exp $
2    
3     PNAME="swig"
4     PVER="1.3.36"
5     PBUILD="r1"
6    
7     PCATEGORIE="dev-lang"
8     STATE="unstable"
9    
10     DESCRIPTION="Simplified Wrapper and Interface Generator."
11     HOMEPAGE="http://www.swig.org/"
12    
13     DEPEND=">= dev-lang/python-2.6
14     >= virtual/java
15     >= dev-lang/perl-5.10
16     >= dev-lang/tcl-8.5
17     >= dev-lang/ruby-1.8.7"
18    
19     SDEPEND=">= sys-apps/sed-4"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.gz"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     sminclude mbuild
25    
26     SRC_URI=(
27     sourceforge://${PNAME}/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     )
30    
31     # swig uses its name in release version -> not 1.3.36 but swig-1.3.36
32     UP2DATE="updatecmd_sourceforge ${PNAME} | sed 's/${PNAME}-\(.*\)/\1/'"
33    
34     # note1: build only with python, java, perl, ruby, tcl support
35     # left out: guile, lua, mono, ocaml, php, pike
36     src_compile()
37     {
38     cd ${SRCDIR}
39    
40     # swig doesn't like any CFLAGS
41     unset CXXFLAGS
42     unset CFLAGS
43    
44     mconfigure \
45     --with-python \
46     --with-java=${JAVA_HOME} \
47     --with-javaincl=${JAVA_HOME}/include \
48     --with-ruby=/usr/bin/ruby \
49     --with-perl5=/usr/bin/perl \
50     --with-tcl \
51     --without-guile \
52     --without-php4 \
53     --without-ocaml \
54     --without-pike \
55     --without-csharp \
56     --without-lua \
57     || die
58    
59     # we don't have lisp-plt
60     PLT=""
61    
62     mmake || die
63     }

Properties

Name Value
svn:keywords Id