summaryrefslogtreecommitdiff
blob: a4b4c9a3b832d75f63524746c8172ca7c7aba11f (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-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-20010215.build,v 1.2 2001/02/21 06:25: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.coinn3d.org"

DEPEND="X? ( >=x11-base/xfree-4.0.2 )
        >=media-libs/mesa-3.4"

src_compile() {

    local myconf
    if [ -z "`use X`" ]
    then
      myconf="--without-x"
    fi
    try ./configure --prefix=/usr/X11R6 --host=${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

}