2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Garbage collection and memory leak detection for C and C++
|
|
|
|
|
# URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2006-10-02 09:47:51 +00:00
|
|
|
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
2006-03-06 10:16:16 +00:00
|
|
|
|
# Packager: Han Boetes, han at mijncomputer dot dl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=boehm-gc
|
2008-05-12 21:53:18 +02:00
|
|
|
|
version=7.1
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
2007-07-03 14:30:19 +02:00
|
|
|
|
cd gc-${version}
|
2006-10-02 09:47:51 +00:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--enable-threads=pthreads \
|
|
|
|
|
--enable-static \
|
|
|
|
|
--enable-shared
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2006-10-02 09:47:51 +00:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
install -D -m 644 doc/gc.man $PKG/usr/man/man3/gc.3
|
2006-10-02 09:47:51 +00:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
rm -rf $PKG/usr/share
|
|
|
|
|
}
|