1
0
forked from ports/opt

cmocka: update to 1.1.6

This commit is contained in:
Juergen Daubert 2023-02-18 14:07:38 +01:00
parent 5cc597d78e
commit 737dec0722
3 changed files with 13 additions and 15 deletions

View File

@ -5,11 +5,11 @@ drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/cmocka/
-rw-r--r-- root/root usr/lib/cmake/cmocka/cmocka-config-release.cmake
-rw-r--r-- root/root usr/lib/cmake/cmocka/cmocka-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/cmocka/cmocka-config.cmake
-rw-r--r-- root/root usr/lib/libcmocka-static.a
lrwxrwxrwx root/root usr/lib/libcmocka.so -> libcmocka.so.0
lrwxrwxrwx root/root usr/lib/libcmocka.so.0 -> libcmocka.so.0.7.0
-rwxr-xr-x root/root usr/lib/libcmocka.so.0.7.0
lrwxrwxrwx root/root usr/lib/libcmocka.so.0 -> libcmocka.so.0.8.0
-rwxr-xr-x root/root usr/lib/libcmocka.so.0.8.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/cmocka.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bEF1HyijIqRIcFjs6zHipkOlRrYaC1cwS0uTa30FiH6SVYIQPMHqPYGpKFVBkATBwNKntzWLwDqnRTg+PY1Ewo=
SHA256 (Pkgfile) = fc32543202bed9c77ea219cdc55f598cc80f6da0ca77b7baec805f7d667c442d
SHA256 (.footprint) = 6fa82bc6f1dfe4920cf656462b70c1fa61800892fbcc39b98c791c0054c69e29
SHA256 (cmocka-1.1.5.tar.xz) = f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6
RWSE3ohX2g5d/Sq33Cm6w4UQL0K7XQgzWRpY+3gQ4KRnsJSxIH0Ih7Kb/qnUxjCEXLOAzi+d4hBZDuzulZKzbLdCoIi/mzCMcgk=
SHA256 (Pkgfile) = 8f9883c2611bd4afb83cb3cea8e6ba3a64233c377e8e8d969b442466982c43f0
SHA256 (.footprint) = 627aa77bd9b9998ea06e9a5315612a672df68593f13f8ee43cf054375e907409
SHA256 (cmocka-1.1.6.tar.xz) = 5b3283038ddee236e7cb410ff217a31e66a651674838eb51a8ff0e1eba737a76

View File

@ -1,21 +1,19 @@
# Description: Unit testing framework
# URL: https://cmocka.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: cmake
# URL: https://cmocka.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
name=cmocka
version=1.1.5
release=2
version=1.1.6
release=1
source=(https://cmocka.org/files/1.1/$name-$version.tar.xz)
build() {
cmake -S $name-$version -B build \
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D WITH_STATIC_LIB=On \
-D UNIT_TESTING=On
cmake --build build
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
}