opt/boehm-gc/Pkgfile

30 lines
762 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Garbage collection and memory leak detection for C and C++
# URL: http://hboehm.info/gc/
2009-09-19 00:55:34 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Han Boetes, han at mijncomputer dot dl
2006-02-23 16:26:10 +01:00
name=boehm-gc
2019-12-09 11:55:59 +01:00
version=8.0.4
2006-02-23 16:26:10 +01:00
release=1
2018-09-09 03:07:44 +02:00
source=(http://hboehm.info/gc/gc_source/gc-${version}.tar.gz \
2019-12-09 11:55:59 +01:00
https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz)
2006-02-23 16:26:10 +01:00
build () {
2014-04-29 14:33:30 +02:00
cd gc-$version
2019-12-09 11:55:59 +01:00
ln -s ../libatomic_ops-7.6.10 libatomic_ops
2006-10-02 11:47:51 +02:00
2006-02-23 16:26:10 +01:00
./configure \
--prefix=/usr \
--enable-threads=pthreads \
--enable-static \
--enable-shared
make
make DESTDIR=$PKG install
2006-10-02 11:47:51 +02:00
2019-12-09 11:55:59 +01:00
rm -r $PKG/usr/share/doc
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
2006-02-23 16:26:10 +01:00
}