void-packages/srcpkgs/check/template

27 lines
757 B
Bash

# Template file for 'check'
pkgname=check
version=0.15.0
revision=1
build_style=gnu-configure
short_desc="Unit Testing Framework for C"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://libcheck.github.io/check/"
distfiles="https://github.com/libcheck/check/releases/download/${version}/check-${version}.tar.gz"
checksum=aea2e3c68fa6e1e92378e744b1c0db350ccda4b6bd0d19530d0ae185b3d1ac60
check-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}
# REMARKS:
# We want the prepared archive so we don't need texlive in hostmakedepends