Contents of /trunk/extras/swig/swig-1.3.34-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1146 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1146 byte(s)
import repo
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 | # note1: build only with python, java, perl, ruby, tcl support |
32 | # left out: guile, lua, mono, ocaml, php, pike |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | |
37 | # swig doesn't like any CFLAGS |
38 | unset CXXFLAGS |
39 | unset CFLAGS |
40 | |
41 | mconfigure \ |
42 | --with-python \ |
43 | --with-java=${JAVA_HOME} \ |
44 | --with-javaincl=${JAVA_HOME}/include \ |
45 | --with-ruby=/usr/bin/ruby \ |
46 | --with-perl5=/usr/bin/perl \ |
47 | --with-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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |