void-packages/srcpkgs/libgcroots/template

29 lines
792 B
Bash

# Template file for 'libgcroots'
pkgname=libgcroots
version=0.3.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="GC library for sigscheme Scheme interpreter"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="custom:libgcroots"
homepage="https://github.com/uim/libgcroots"
distfiles="https://github.com/uim/libgcroots/releases/download/$version/libgcroots-$version.tar.bz2"
checksum=b177a1c033bd907ea341db7e46eeee181acb73225bf58ada1966e7b4d50f657f
post_install() {
rm -f $DESTDIR/usr/lib/*.la
vlicense COPYING
}
libgcroots-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}