diff --git a/common/shlibs b/common/shlibs index 13e38b02628..4dae7e6736a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2790,3 +2790,4 @@ libmutter-cogl.so mutter-3.22.0_1 libgeoclue-2.so.0 geoclue2-2.4.4_1 libgepub.so.0 libgepub-0.4_1 libslopy.so.0.1.0 slop-5.3.37_1 +libbcunit.so.1 bcunit-3.0_1 diff --git a/srcpkgs/bcunit-devel b/srcpkgs/bcunit-devel new file mode 120000 index 00000000000..8a56f76b8e9 --- /dev/null +++ b/srcpkgs/bcunit-devel @@ -0,0 +1 @@ +bcunit \ No newline at end of file diff --git a/srcpkgs/bcunit/template b/srcpkgs/bcunit/template new file mode 100644 index 00000000000..37229b92dc1 --- /dev/null +++ b/srcpkgs/bcunit/template @@ -0,0 +1,33 @@ +# Template file for 'bcunit' +pkgname=bcunit +version=3.0 +revision=1 +_gitrev=29c556fa8ac1ab21fba1291231ffa8dea43cf32a +wrksrc="${pkgname}-${_gitrev}" +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Lightweight unit tests in C" +maintainer="Jürgen Buchmüller " +license="LGPL-2" +homepage="https://github.com/BelledonneCommunications/bcunit" +distfiles="https://github.com/BelledonneCommunications/bcunit/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=e379c26a429537da8408361a99f04c4492786f21d2ce6abb55fe7dcde4bc6206 + +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}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove usr/share + } +}