milis/talimatname/genel/b/boehm-gc/talimat

25 lines
696 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 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/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2017-12-22 23:19:06 +01:00
# Gerekler:
# Grup: geliştirme
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=boehm-gc
surum=7.4.2
devir=1
kaynak=(http://www.hboehm.info/gc/gc_source/gc-${surum}.tar.gz
2016-02-24 01:27:23 +01:00
https://github.com/ivmai/libatomic_ops/archive/libatomic_ops-${version//\./_}.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd gc-$surum
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
make
make DESTDIR=$PKG install
install -D -m 644 doc/gc.man $PKG/usr/man/man3/gc.3
}