void-packages/srcpkgs/gc/template

34 lines
861 B
Bash
Raw Normal View History

# Template file for 'gc'
pkgname=gc
2014-06-16 06:58:20 +00:00
version=7.4.2
revision=3
2012-07-02 09:51:25 +00:00
build_style=gnu-configure
2014-06-16 06:58:20 +00:00
hostmakedepends="automake pkg-config libtool"
2014-01-30 10:31:47 +00:00
makedepends="libatomic_ops-devel"
case "$XBPS_TARGET_MACHINE" in
*-musl)
2015-06-13 17:57:32 +00:00
CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR'
esac
short_desc="A garbage collector for C and C++"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-06-16 06:58:20 +00:00
homepage="http://www.hboehm.info/gc/"
license="GPL-2"
2014-06-16 06:58:20 +00:00
distfiles="http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
checksum=63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2
pre_configure() {
2014-06-16 06:58:20 +00:00
autoreconf -fi
}
gc-devel_package() {
2013-11-19 10:01:28 +00:00
depends="gc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
2013-11-19 10:01:28 +00:00
vmove usr/lib/pkgconfig
}
}