# Description: Wrapper for the NSS API # URL: https://cwrap.org/nss_wrapper.html # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: cmake name=nss_wrapper version=1.1.11 release=1 source=(https://ftp.samba.org/pub/cwrap/$name-$version.tar.gz) build() { cmake -S $name-$version -B build\ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib cmake --build build DESTDIR=$PKG cmake --install build }