void-packages/srcpkgs/libnss-cache/template

28 lines
732 B
Bash

# Template file for 'libnss-cache'
pkgname=libnss-cache
version=0.16
revision=2
wrksrc=$pkgname-version-$version
build_style=gnu-makefile
make_use_env=1
short_desc="NSS module for reading directory information from local cache"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="LGPL-3.0"
homepage="https://github.com/google/libnss-cache"
distfiles="https://github.com/google/libnss-cache/archive/version/$version.tar.gz"
checksum=09099ce2a3becb9cc4c282f7809198ac9707929dbc767030e32da8b824110bfe
case "$XBPS_TARGET_MACHINE" in
*musl)
makedepends="musl-nscd-devel"
;;
esac
do_check() {
: # https://github.com/google/libnss-cache/issues/10
}
pre_install() {
sed -i 's:$(LIBDIR):${DESTDIR}/usr/lib:' Makefile
}