void-packages/srcpkgs/libnss-cache/template
2020-01-19 21:50:21 -08:00

24 lines
682 B
Bash

# Template file for 'libnss-cache'
pkgname=libnss-cache
version=0.17
revision=1
wrksrc=$pkgname-version-$version
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=3777cbc46dc8d08144b99321d1f039718cd347d3be8ed66a8cb3722d3e6692f5
case "$XBPS_TARGET_MACHINE" in
*musl)
makedepends="musl-nscd-devel"
;;
esac
pre_install() {
sed -i 's:$(LIBDIR):${DESTDIR}/usr/lib:' Makefile
}