24 lines
649 B
Bash
24 lines
649 B
Bash
# Template file for 'libnss-cache'
|
|
pkgname=libnss-cache
|
|
version=0.20
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=1
|
|
checkdepends="time"
|
|
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=71324b6035674028a0f39c98aedfbaed94adbcddd72dc1c4ab81308b135dd586
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*musl)
|
|
makedepends="musl-nscd-devel"
|
|
;;
|
|
esac
|
|
|
|
pre_install() {
|
|
sed -i 's:$(LIBDIR):${DESTDIR}/usr/lib:' Makefile
|
|
}
|