2016-02-24 01:27:23 +01:00
|
|
|
# Description: A garbage collector for C and C++
|
|
|
|
# URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
2017-01-31 01:37:09 +01:00
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on: libatomic-ops
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=gc
|
|
|
|
version=7.4.2
|
|
|
|
release=2
|
|
|
|
source=(http://www.hboehm.info/gc/gc_source/gc-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gc-*
|
|
|
|
sed -i 's#pkgdata#doc#' doc/doc.am && autoreconf &&
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-threads=pthreads \
|
|
|
|
--disable-static \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-cplusplus
|
2017-01-31 01:37:09 +01:00
|
|
|
install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
|
2016-02-24 01:27:23 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
}
|