Contents of /trunk/core/swig/swig-1.3.34-r1.smage2
Parent Directory | Revision Log
Revision 295 -
(show annotations)
(download)
Thu Dec 18 23:28:09 2008 UTC (15 years, 9 months ago) by niro
File size: 1218 byte(s)
Thu Dec 18 23:28:09 2008 UTC (15 years, 9 months ago) by niro
File size: 1218 byte(s)
-fixed UP2DATE Uri
1 | # $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.34" |
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.5 |
14 | >= virtual/java |
15 | >= dev-lang/perl-5.10 |
16 | >= dev-lang/tcl-8.4.18 |
17 | >= dev-lang/ruby-1.8.6" |
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 | UP2DATE="updatecmd_sourceforge ${PNAME} | sed 's/${PNAME}-\(.*\)/\1/'" |
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 | --with-java=${JAVA_HOME} \ |
46 | --with-javaincl=${JAVA_HOME}/include \ |
47 | --with-ruby=/usr/bin/ruby \ |
48 | --with-perl5=/usr/bin/perl \ |
49 | --with-tcl \ |
50 | --without-guile \ |
51 | --without-php4 \ |
52 | --without-ocaml \ |
53 | --without-pike \ |
54 | --without-csharp \ |
55 | --without-lua \ |
56 | || die |
57 | |
58 | # we don't have lisp-plt |
59 | PLT="" |
60 | |
61 | mmake || die |
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |