New package: bcunit-3.0

This commit is contained in:
Jürgen Buchmüller 2017-03-10 17:46:43 +01:00
parent a23afa9c6a
commit f8bf47ff7d
3 changed files with 35 additions and 0 deletions

View file

@ -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

1
srcpkgs/bcunit-devel Symbolic link
View file

@ -0,0 +1 @@
bcunit

33
srcpkgs/bcunit/template Normal file
View file

@ -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 <pullmoll@t-online.de>"
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
}
}