From 01019fbdbfc5b1c3cdc1c52eba64ac64d94f0b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 4 Mar 2020 23:24:35 +0100 Subject: [PATCH] bcunit: switch to cmake build style --- srcpkgs/bcunit/template | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/srcpkgs/bcunit/template b/srcpkgs/bcunit/template index 9a93973f138..29a8171ae65 100644 --- a/srcpkgs/bcunit/template +++ b/srcpkgs/bcunit/template @@ -1,24 +1,16 @@ # Template file for 'bcunit' pkgname=bcunit version=3.0.2 -revision=1 -build_style=gnu-configure -hostmakedepends="automake libtool" +revision=2 +build_style=cmake +configure_args="-DENABLE_DOC=ON" short_desc="Lightweight unit tests in C" maintainer="Jürgen Buchmüller " -license="LGPL-2" +license="LGPL-2.1-or-later" homepage="https://github.com/BelledonneCommunications/bcunit" distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f -pre_configure() { - NOCONFIGURE=1 ./autogen.sh -} - -post_install() { - mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share -} - bcunit-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"