New package: musl-nscd

This commit is contained in:
Michael Aldridge 2018-06-22 00:13:34 -07:00
parent e6ee2c7783
commit 26630e01c6
3 changed files with 36 additions and 0 deletions

1
srcpkgs/musl-nscd-devel Symbolic link
View File

@ -0,0 +1 @@
musl-nscd

View File

@ -0,0 +1,4 @@
#!/bin/sh
[ -r conf ] && . ./conf
mkdir -p /var/run/nscd /var/db/nscd
exec nscd -F ${OPTS} >/dev/null

View File

@ -0,0 +1,31 @@
# Template file for 'musl-nscd'
pkgname=musl-nscd
version=1.0.1
revision=1
build_style=gnu-configure
hostmakedepends="bison flex"
short_desc="NSS to NSCD bridge for musl"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="MIT"
homepage="https://github.com/pikhq/musl-nscd"
distfiles="https://github.com/pikhq/musl-nscd/archive/v$version.tar.gz"
checksum=4d2835c48c009b3d9d8fa9579d9cdf15b4d4e60543036066ee76b1854e19a005
only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl"
pre_install() {
sed -i "s:sbin:bin:g" Makefile
}
post_install() {
vlicense COPYRIGHT
vsv nscd
}
musl-nscd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}