void-packages/srcpkgs/bcunit/template
Jürgen Buchmüller 92bc42b35c bcunit: fix typo
2017-03-10 19:50:33 +01:00

33 lines
906 B
Bash

# Template file for 'bcunit'
pkgname=bcunit
version=3.0
revision=2
_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
}
}