summaryrefslogtreecommitdiff
blob: 545ab98f188d42f8e46b6b750d7895b1ec95a0d6 (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-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-20010601.ebuild,v 1.1 2001/06/04 06:41:14 achim Exp $


A=Coin-${PV}.tar.gz
S=${WORKDIR}/Coin
DESCRIPTION="An OpenSource implementation of SGI's OpenInventor"
SRC_URI="ftp://ftp.coin3d.org/pub/snapshots/${A}"
HOMEPAGE="http://www.coin3d.org"

DEPEND="virtual/x11 virtual/opengl"

src_compile() {

    local myconf
    if [ -z "`use X`" ]
    then
      myconf="--without-x"
    fi
    try ./configure --prefix=/usr/X11R6 --host=${CHOST} --build=${CHOST} $myconf
    try make

}

src_install () {

    try make prefix=${D}/usr/X11R6 install
    dodoc AUTHORS COPYING ChangeLog* HACKING LICENSE* NEWS README*
    docinto txt
    dodoc docs/*.txt docs/coin.doxygen docs/whitepapers/*.txt

}