2011-06-26 23:44:38 +00:00
|
|
|
# Template file for 'gc'
|
|
|
|
pkgname=gc
|
2012-08-21 03:57:59 +00:00
|
|
|
version=7.2d
|
2013-08-24 14:25:58 +00:00
|
|
|
revision=2
|
2012-07-02 09:51:25 +00:00
|
|
|
wrksrc=gc-7.2
|
|
|
|
build_style=gnu-configure
|
2013-08-24 14:25:58 +00:00
|
|
|
hostmakedepends="pkg-config automake libtool"
|
2011-06-26 23:44:38 +00:00
|
|
|
short_desc="A garbage collector for C and C++"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-26 23:44:38 +00:00
|
|
|
homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
|
|
|
|
license="GPL-2"
|
2012-07-02 09:40:55 +00:00
|
|
|
distfiles="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-$version.tar.gz"
|
2012-08-21 03:57:59 +00:00
|
|
|
checksum=d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e
|
2011-06-26 23:44:38 +00:00
|
|
|
long_desc="
|
|
|
|
The Boehm-Demers-Weiser conservative garbage collector can be used as a
|
|
|
|
garbage collecting replacement for C malloc or C++ new. It allows you to
|
|
|
|
allocate memory basically as you normally would, without explicitly
|
|
|
|
deallocating memory that is no longer useful. The collector automatically
|
|
|
|
recycles memory when it determines that it can no longer be otherwise
|
2012-05-18 15:52:05 +00:00
|
|
|
accessed."
|
2013-04-12 11:13:49 +00:00
|
|
|
|
2013-08-24 14:25:58 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2013-04-12 11:13:49 +00:00
|
|
|
gc-devel_package() {
|
|
|
|
depends="gc>=$version"
|
2013-08-24 14:25:58 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-24 14:25:58 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gc_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|