void-packages/srcpkgs/check/template
2020-12-26 01:53:25 -03:00

26 lines
761 B
Bash

# Template file for 'check'
pkgname=check
version=0.15.2
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=a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a
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