void-packages/srcpkgs/gc/template
2014-01-30 11:31:47 +01:00

29 lines
742 B
Text

# Template file for 'gc'
pkgname=gc
version=7.4.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config libtool"
makedepends="libatomic_ops-devel"
short_desc="A garbage collector for C and C++"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license="GPL-2"
distfiles="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-$version.tar.gz"
checksum=61f8fc6991f8cb003a0d3c7d251c5b9a76093615ef793e0c588a4661e0b5e283
pre_configure() {
libtoolize -f
}
gc-devel_package() {
depends="gc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}