description="Lightweight system for writing, administering, and running unit tests in C"
url="https://github.com/BelledonneCommunications/bcunit"
packager="tnut <tnut@nutyx.org>"
contributors="Greg"

PKGMK_KEEP_SOURCES="no"

name=bcunit
version=3.0.2
release=3

source=(https://github.com/BelledonneCommunications/bcunit/archive/$version.tar.gz
)

build() {

cd $SRC/bcunit-$version
[ -x configure ] || ./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
mv $PKG/usr/doc $PKG/usr/share/doc  	

# Obsolet lib
rm $PKG/usr/lib/libbcunit.la
}
