New package: libnss-cache-0.16
This commit is contained in:
parent
26630e01c6
commit
769a134b8b
1 changed files with 28 additions and 0 deletions
28
srcpkgs/libnss-cache/template
Normal file
28
srcpkgs/libnss-cache/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Reference in a new issue