summaryrefslogtreecommitdiff
path: root/portsToCome/gc/Pkgfile
blob: fb52cf331ea46f9cd92409bb521979edc3f62b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: A garbage collector for C and C++
# URL: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
# Maintainer: Erich Eckner, erich at eckner dot net
# Depends on:

name=gc
version=7.4.2
release=1
source=(http://www.hboehm.info/$name/gc_source/$name-$version.tar.gz
	http://www.hboehm.info/gc/gc_source/libatomic_ops-7.4.0.tar.gz)

build() {
	cd $name-$version
	ln -s ../libatomic_ops-7.4.0 libatomic_ops
	autoreconf -vif
	automake --add-missing
	./configure \
		--prefix=/usr \
		--mandir=/usr/man \
		--disable-nls
	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share/gc
}