blob: 97f5bbb03ac8ac47c7c0ecfb75fcb3138270026a (
plain)
1 # Description: Garbage collection and memory leak detection for C and C++
2 # URL: http://hboehm.info/gc/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: Han Boetes, han at mijncomputer dot dl
5
6 name=boehm-gc
7 version=7.4.2
8 release=1
9 source=(http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz
10 https://github.com/ivmai/libatomic_ops/archive/libatomic_ops-${version//\./_}.tar.gz)
11
12 build () {
13 cd gc-$version
14
15 ln -s ../libatomic_ops-libatomic_ops-${version//\./_} libatomic_ops
16
17 ./configure \
18 --prefix=/usr \
19 --enable-threads=pthreads \
20 --enable-static \
21 --enable-shared
22 make
23 make DESTDIR=$PKG install
24
25 rm -rf $PKG/usr/share
26
27 install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
28
29 }
|