# Description: Garbage collection and memory leak detection for C and C++ # URL: https://hboehm.info/gc/ # Maintainer: Thomas Penteker, tek at serverop dot de name=boehm-gc version=8.0.4 release=1 source=(https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz) build () { cd gc-$version ln -s ../libatomic_ops-7.6.10 libatomic_ops ./configure \ --prefix=/usr \ --enable-threads=pthreads \ --enable-static \ --enable-shared make make DESTDIR=$PKG install rm -r $PKG/usr/share/doc install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3 }