mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
New package: musl-nscd
This commit is contained in:
parent
e6ee2c7783
commit
26630e01c6
3 changed files with 36 additions and 0 deletions
1
srcpkgs/musl-nscd-devel
Symbolic link
1
srcpkgs/musl-nscd-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
musl-nscd
|
4
srcpkgs/musl-nscd/files/nscd/run
Executable file
4
srcpkgs/musl-nscd/files/nscd/run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/run/nscd /var/db/nscd
|
||||||
|
exec nscd -F ${OPTS} >/dev/null
|
31
srcpkgs/musl-nscd/template
Normal file
31
srcpkgs/musl-nscd/template
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue