opt/boehm-gc/Pkgfile

28 lines
698 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: https://hboehm.info/gc/
2021-01-29 13:36:19 +01:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2006-02-23 16:26:10 +01:00
name=boehm-gc
2023-05-27 09:56:56 +02:00
version=8.2.4
2006-02-23 16:26:10 +01:00
release=1
2020-08-19 12:17:57 +02:00
source=(https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz
2022-08-27 13:43:01 +02:00
https://github.com/ivmai/libatomic_ops/releases/download/v7.6.14/libatomic_ops-7.6.14.tar.gz)
2006-02-23 16:26:10 +01:00
build () {
2021-01-29 13:36:19 +01:00
cd gc-$version
2022-08-27 13:43:01 +02:00
ln -s ../libatomic_ops-7.6.14 libatomic_ops
2006-10-02 11:47:51 +02:00
2021-01-29 13:36:19 +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
2021-01-29 13:36:19 +01:00
rm -r $PKG/usr/share/doc
2021-01-29 13:36:19 +01:00
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
2006-02-23 16:26:10 +01:00
}