2011-06-27 01:44:38 +02:00
|
|
|
# Template file for 'gc'
|
|
|
|
pkgname=gc
|
2013-11-19 11:01:28 +01:00
|
|
|
_majorver=7.2
|
|
|
|
version="${_majorver}e"
|
|
|
|
revision=1
|
|
|
|
wrksrc="gc-${_majorver}"
|
2012-07-02 11:51:25 +02:00
|
|
|
build_style=gnu-configure
|
2013-11-19 11:01:28 +01:00
|
|
|
hostmakedepends="libtool"
|
2011-06-27 01:44:38 +02:00
|
|
|
short_desc="A garbage collector for C and C++"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-27 01:44:38 +02:00
|
|
|
homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
|
|
|
|
license="GPL-2"
|
2012-07-02 11:40:55 +02:00
|
|
|
distfiles="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-$version.tar.gz"
|
2013-11-19 11:01:28 +01:00
|
|
|
checksum=09315b48a82d600371207691126ad058c04677281ac318d86fa84c98c3c9af4b
|
2011-06-27 01:44:38 +02: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 17:52:05 +02:00
|
|
|
accessed."
|
2013-04-12 13:13:49 +02:00
|
|
|
|
2013-08-24 16:25:58 +02:00
|
|
|
pre_configure() {
|
2013-11-19 11:01:28 +01:00
|
|
|
libtoolize -f
|
2013-08-24 16:25:58 +02:00
|
|
|
}
|
|
|
|
|
2013-04-12 13:13:49 +02:00
|
|
|
gc-devel_package() {
|
2013-11-19 11:01:28 +01:00
|
|
|
depends="gc>=${version}_${revision}"
|
2013-08-24 16:25:58 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-24 16:25:58 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-11-19 11:01:28 +01:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|