From 769a134b8b0866c6f73d0ada6aaf5fa567334844 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Tue, 19 Jun 2018 23:57:28 -0700 Subject: [PATCH] New package: libnss-cache-0.16 --- srcpkgs/libnss-cache/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/libnss-cache/template diff --git a/srcpkgs/libnss-cache/template b/srcpkgs/libnss-cache/template new file mode 100644 index 0000000000..a8f2fe645a --- /dev/null +++ b/srcpkgs/libnss-cache/template @@ -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 " +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 +}