blob: cef6b2389e6bcaa0d08b3baacc1974ef9787475b (
plain)
1 # Description: Garbage collection and memory leak detection for C and C++
2 # URL: https://hboehm.info/gc/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4
5 name=boehm-gc
6 version=8.0.4
7 release=1
8 source=(https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz
9 https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz)
10
11 build () {
12 cd gc-$version
13
14 ln -s ../libatomic_ops-7.6.10 libatomic_ops
15
16 ./configure \
17 --prefix=/usr \
18 --enable-threads=pthreads \
19 --enable-static \
20 --enable-shared
21 make
22 make DESTDIR=$PKG install
23
24 rm -r $PKG/usr/share/doc
25
26 install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
27 }
|