22 lines
417 B
Plaintext
22 lines
417 B
Plaintext
![]() |
# Description: Unit testing framework
|
||
|
# URL: https://cmocka.org/
|
||
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||
|
# Depends on:
|
||
|
|
||
|
name=cmocka
|
||
|
version=1.1.1
|
||
|
release=1
|
||
|
source=(https://cmocka.org/files/1.1/$name-$version.tar.xz)
|
||
|
|
||
|
build() {
|
||
|
mkdir build; cd build
|
||
|
|
||
|
cmake ../$name-$version \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DUNIT_TESTING=On
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
}
|