blob: cb256235bc1341ab688f80868f0c55f9a397a02d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3_alpha5-r1.ebuild,v 1.1 2000/12/01 19:46:12 drobbins Exp $
P=swig1.3a5
A=${P}.tar.gz
S=${WORKDIR}/SWIG1.3a5
DESCRIPTION="Simplified wrapper and interface generator"
SRC_URI="http://download.sourceforge.net/swig/${A}"
HOMEPAGE="http://www.swig.org"
DEPEND=">=sys-devel/gcc-2.95.2
>=sys-libs/glibc-2.1.3
>=virtual/python-1.5.2
>=dev-lang/jdk-1.2.2
>=dev-lang/ruby-1.6.1
>=dev-util/guile-1.4
>=dev-lang/tcl-tk-8.1.1"
src_compile() {
cd ${S}
unset CXXFLAGS
unset CFLAGS
try ./configure --prefix=/usr --host=${CHOST} \
--with-doc=html --with-tcllib=/usr/lib/tcl8.1
try make
}
src_install () {
cd ${S}
try make prefix=${D}/usr install
}
|