vp-build/srcpkgs/bcunit/template

32 lines
789 B
Bash

# Template file for 'bcunit'
pkgname=bcunit
version=3.0.2
revision=1
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="${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}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}