summaryrefslogtreecommitdiff
blob: f83ff46167d0d13a751e3b7d5d70a42ca930c00a (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-6.1.ebuild,v 1.3 2002/12/09 04:21:02 manson Exp $

S=${WORKDIR}/gc${PV}

IUSE=""
DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc${PV}.tar.gz"
HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ~sparc "

DEPEND="virtual/glibc"

src_compile() {
	econf --enable-threads=pthreads \
		|| die "Configure failed..."
	emake || die
}

src_install () {
	einstall || die

	dodir /usr/include/gc
	insinto /usr/include/gc
	doins include/*.h 
	
	dodoc README.QUICK doc/README* doc/barrett_diagram
	dohtml doc
	mv doc/gc.man doc/gc.3
	doman doc/gc.3
}