2006-02-23 15:26:10 +00:00
|
|
|
# Description: Garbage collection and memory leak detection for C and C++
|
2016-03-08 00:16:52 +01:00
|
|
|
# URL: http://hboehm.info/gc/
|
2009-09-19 00:55:34 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop 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
|
2019-09-20 22:11:01 +02:00
|
|
|
version=7.6.12
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2018-09-09 03:07:44 +02:00
|
|
|
source=(http://hboehm.info/gc/gc_source/gc-${version}.tar.gz \
|
|
|
|
https://github.com/ivmai/libatomic_ops/releases/download/v7.6.6/libatomic_ops-7.6.6.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2014-04-29 14:33:30 +02:00
|
|
|
cd gc-$version
|
|
|
|
|
2018-09-09 03:07:44 +02:00
|
|
|
ln -s ../libatomic_ops-7.6.6 libatomic_ops
|
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
|
|
|
rm -rf $PKG/usr/share
|
2016-03-08 00:16:52 +01:00
|
|
|
|
|
|
|
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|