void-packages/srcpkgs/cpptest/template

30 lines
740 B
Bash

# Template file for 'cpptest'
pkgname=cpptest
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake libtool"
short_desc="C++ Unit Testing Framework"
maintainer="mobinmob <mobinmob@disroot.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/cpptest/cpptest"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=09d35d6ecc0e801925579b18efa0adfaa18e8fed19b2f4f743ec7a53f510e409
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
cpptest-devel_package() {
depends="$makedepends cpptest-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libcpptest.a
}
}