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
|
2014-06-15 02:00:30 +02:00
|
|
|
version=7.4.2
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2014-06-15 02:00:30 +02:00
|
|
|
source=(http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz
|
|
|
|
https://github.com/ivmai/libatomic_ops/archive/libatomic_ops-${version//\./_}.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2014-04-29 14:33:30 +02:00
|
|
|
cd gc-$version
|
|
|
|
|
2014-06-15 02:00:30 +02:00
|
|
|
ln -s ../libatomic_ops-libatomic_ops-${version//\./_} 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
|
|
|
}
|