2017-03-10 17:46:43 +01:00
|
|
|
# Template file for 'bcunit'
|
|
|
|
pkgname=bcunit
|
2017-07-24 00:21:46 +02:00
|
|
|
version=3.0.2
|
|
|
|
revision=1
|
2017-03-10 17:46:43 +01:00
|
|
|
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"
|
2017-07-24 00:21:46 +02:00
|
|
|
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f
|
2017-03-10 17:46:43 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|