void-packages/srcpkgs/cpptest/template

30 lines
740 B
Bash
Raw Normal View History

2018-09-28 18:38:28 +02:00
# Template file for 'cpptest'
pkgname=cpptest
2019-01-06 23:43:39 +01:00
version=2.0.0
2018-09-28 18:38:28 +02:00
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"
2019-01-06 23:43:39 +01:00
checksum=09d35d6ecc0e801925579b18efa0adfaa18e8fed19b2f4f743ec7a53f510e409
2018-09-28 18:38:28 +02:00
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
}
}