summaryrefslogtreecommitdiffstats
path: root/base/boehm-gc/Pkgfile
blob: 93dfcd9d7d57f3ab539cd2ae751e7558882164fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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=2
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 \
		--enable-cplusplus
	install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3 
	make
	make DESTDIR=$PKG install
}