# Description: Détecteur de fuites de mémoire
# URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=boehm-gc
version=7.1
release=1
source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${version}.tar.gz)

build() {
	cd gc-$version
	./configure --prefix=/usr \
		--enable-threads=pthreads \
		--enable-static \
		--enable-shared
	install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3 
	make
	make DESTDIR=$PKG install
}