# Template file for 'nss_wrapper' pkgname=nss_wrapper version=1.1.15 revision=1 archs="~*-musl" # complains about the getXXent_r functions missing build_style=cmake hostmakedepends="pkg-config" short_desc="Wrapper for the user, group and hosts NSS API" maintainer="Otto Modinos " license="BSD-3-Clause" homepage="http://cwrap.org/nss_wrapper.html" distfiles="https://download.samba.org/pub/cwrap/${pkgname}-${version}.tar.gz" checksum=36f874832a4f2158e04f69aa77e5515e16cf6e3bf81968d5dd8496db7d6906ad if [ "$XBPS_TARGET_LIBC" = glibc ]; then makedepends+=" libxcrypt-devel" fi if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DUNIT_TESTING=ON" makedepends+=" cmocka-devel uid_wrapper" checkdepends+=" cmocka" fi post_install() { vlicense LICENSE }