blob: b9d772af16b11d5243d6b565e64c9edcb8abc5f6 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.8.1-r3.ebuild,v 1.1 2004/12/28 05:28:11 ribosome Exp $
inherit eutils flag-o-matic
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"
IUSE=""
DEPEND="dev-lang/tk
x11-libs/xforms
x11-libs/lesstif
virtual/opengl"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-stdiostream.diff
epatch ${FILESDIR}/${P}-configure.diff
}
src_compile() {
append-flags "-DGL_GLEXT_LEGACY"
econf || die "could not configure"
make || die "make failed"
}
src_install() {
make DESTDIR=${D} install
}
|