35 lines
997 B
Bash
35 lines
997 B
Bash
# Template file for 'gc'
|
|
pkgname=gc
|
|
version=8.2.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# libatomic_ops is replaced by GCC atomic intrinsics
|
|
configure_args="--enable-static --with-libatomic-ops=none"
|
|
hostmakedepends="pkg-config"
|
|
short_desc="Garbage collector for C and C++"
|
|
maintainer="Ivan Maidanski <ivmai@mail.ru>"
|
|
license="MIT"
|
|
homepage="https://www.hboehm.info/gc/"
|
|
distfiles="https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
|
|
checksum=7649020621cb26325e1fb5c8742590d92fb48ce5c259b502faf7d9fb5dabb160
|
|
|
|
post_install() {
|
|
mkdir -p ${DESTDIR}/usr/include/gc/
|
|
mv ${wrksrc}/include/* ${DESTDIR}/usr/include/gc/
|
|
mv ${DESTDIR}/usr/include/gc/extra/* ${DESTDIR}/usr/include/
|
|
rmdir ${DESTDIR}/usr/include/gc/extra
|
|
vlicense README.QUICK
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|