summaryrefslogtreecommitdiff
blob: 5c8183ced7455aab1560272aa071b27ceff4b6a8 (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
# 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.0.ebuild,v 1.2 2002/07/11 06:30:20 drobbins Exp $

S=${WORKDIR}/gc6.0
DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new. It is also used by a number of programming language implementations that use C as intermediate code."
SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.0.tar.gz"
HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"

DEPEND=">=sys-devel/gcc-2.95.3-r5"
RDEPEND=">=sys-devel/gcc-2.95.3-r5"

src_compile() {

	emake || die
	
}

src_install () {

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