vp-build/srcpkgs/bcunit/template

34 lines
906 B
Bash
Raw Normal View History

2017-03-10 17:46:43 +01:00
# Template file for 'bcunit'
pkgname=bcunit
version=3.0
2017-03-10 19:50:33 +01:00
revision=2
2017-03-10 17:46:43 +01:00
_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"
2017-03-10 19:50:33 +01:00
depends="${sourcepkg}>=${version}_${revision}"
2017-03-10 17:46:43 +01:00
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}