summaryrefslogtreecommitdiff
blob: 644a8c5b93892e5f2a1b1c1c05472965bd0c96b0 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/geomview/geomview-1.8.1-r3.ebuild,v 1.1 2004/03/05 08:02:41 nerdboy Exp $

DESCRIPTION="Interactive Geometry Viewer"
SRC_URI="http://ftp1.sourceforge.net/geomview/geomview-1.8.1.tar.gz"
HOMEPAGE="http://geomview.sourceforge.net"

KEYWORDS="~x86 ~sparc ~ppc"
LICENSE="LGPL-2.1"
SLOT="0"
S="${WORKDIR}/${P}"

DEPEND="dev-lang/tk
	x11-libs/xforms
	x11-libs/lesstif
	virtual/opengl"

RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}
	patch -p0 < ${FILESDIR}/${P}-stdiostream.diff || die
	patch -p1 < ${FILESDIR}/${P}-configure.diff || die
	}

src_compile() {
	econf || die "could not configure"
	make || die "make failed"
}

src_install() {
	make DESTDIR=${D} install
}