opt/boehm-gc/Pkgfile

26 lines
638 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://www.hpl.hp.com/personal/Hans_Boehm/gc/
2006-10-02 11:47:51 +02:00
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
# Packager: Han Boetes, han at mijncomputer dot dl
2006-02-23 16:26:10 +01:00
name=boehm-gc
2006-07-16 13:58:45 +02:00
version=6.8
2006-02-23 16:26:10 +01:00
release=1
source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc${version}.tar.gz)
build () {
2006-10-02 11:47:51 +02:00
cd gc${version}
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
2006-02-23 16:26:10 +01:00
install -D -m 644 doc/gc.man $PKG/usr/man/man3/gc.3
2006-10-02 11:47:51 +02:00
2006-02-23 16:26:10 +01:00
rm -rf $PKG/usr/share
}