# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header:$ S=${WORKDIR}/gc6.1alpha5 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.1alpha5.tar.gz" HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" SLOT="0" LICENSE="as-is" # So far only tested on x86, should also work on ppc and sparc/sparc64 #KEYWORDS="x86 sparc sparc64" KEYWORDS="x86" DEPEND="virtual/glibc" src_compile() { econf --prefix=/usr --enable-threads=pthreads emake || die "!!! Died running emake !!!" } src_install () { emake DESTDIR=${D} install || die "!!! Died running src_install !!!" dodir /usr/include/gc insinto /usr/include/gc doins include/*.h dodoc README.QUICK doc/README* doc/barrett_diagram # install man page into section 3: Subroutines mv doc/gc.man doc/gc.3 doman doc/gc.3 }