void-packages/srcpkgs/libnss-cache/template

29 lines
778 B
Bash

# Template file for 'libnss-cache'
pkgname=libnss-cache
version=0.16
revision=1
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.eu>"
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"
broken="Requires glibc reentrant extensions"
;;
esac
do_check() {
: # https://github.com/google/libnss-cache/issues/10
}
pre_install() {
sed -i 's:$(LIBDIR):${DESTDIR}/usr/lib:' Makefile
}