milis/talimatname/genel/boehm-gc/talimat

30 lines
697 B
Plaintext
Raw Normal View History

# Description: C ve C++ için garbage collection ve bellek taşması (memory leak) dedektörü.
2017-01-30 23:55:06 +01:00
# URL: http://www.hboehm.info/
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
name=boehm-gc
version=7.4.2
release=1
source=(http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz
https://github.com/ivmai/libatomic_ops/archive/libatomic_ops-${version//\./_}.tar.gz)
build () {
cd gc-$version
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
ln -s $SRC/libatomic_ops-libatomic_ops-${version//\./_} libatomic_ops
./configure \
--prefix=/usr \
--enable-threads=pthreads \
--enable-static \
--enable-shared
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
make
make DESTDIR=$PKG install
install -D -m 644 doc/gc.man $PKG/usr/man/man3/gc.3
}