bcunit: switch to cmake build style

This commit is contained in:
Jürgen Buchmüller 2020-03-04 23:24:35 +01:00
parent e1544ef5ba
commit 01019fbdbf

View file

@ -1,24 +1,16 @@
# Template file for 'bcunit' # Template file for 'bcunit'
pkgname=bcunit pkgname=bcunit
version=3.0.2 version=3.0.2
revision=1 revision=2
build_style=gnu-configure build_style=cmake
hostmakedepends="automake libtool" configure_args="-DENABLE_DOC=ON"
short_desc="Lightweight unit tests in C" short_desc="Lightweight unit tests in C"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2" license="LGPL-2.1-or-later"
homepage="https://github.com/BelledonneCommunications/bcunit" homepage="https://github.com/BelledonneCommunications/bcunit"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share
}
bcunit-devel_package() { bcunit-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"