1a86a8d427
Using a prepared archive when available makes sense, and usually leads to avoiding more hostmakedeps, so this isn't an abnormal situation. No need to call it out explicitly.
23 lines
674 B
Bash
23 lines
674 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
|
|
}
|
|
}
|