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

PKGMK_KEEP_SOURCES="no"

makedepends=(cmake)
name=bcunit
version=5.2.0

source=(https://gitlab.linphone.org/BC/public/bcunit/-/archive/$version/$name-$version.tar.gz)

build() {

cd $name-$version
mkdir -p build
cd       build

cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DENABLE_DOC=ON \
    -DENABLE_STATIC=OFF \
    ..

  make

make DESTDIR=$PKG install
}
