2006-02-23 16:26:10 +01:00
|
|
|
# Description: Garbage collection and memory leak detection for C and C++
|
|
|
|
# URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2009-09-19 00:55:34 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2006-03-06 11:16:16 +01:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot dl
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=boehm-gc
|
2012-06-01 20:49:03 +02:00
|
|
|
version=7.2b
|
2006-02-23 16:26:10 +01:00
|
|
|
release=1
|
2007-07-03 14:30:19 +02:00
|
|
|
source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${version}.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
2012-06-01 20:49:03 +02:00
|
|
|
cd gc-7.2
|
2006-10-02 11:47:51 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-threads=pthreads \
|
|
|
|
--enable-static \
|
|
|
|
--enable-shared
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-10-02 11:47:51 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
install -D -m 644 doc/gc.man $PKG/usr/man/man3/gc.3
|
2006-10-02 11:47:51 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
rm -rf $PKG/usr/share
|
|
|
|
}
|