void-packages/srcpkgs/musl-nscd/template
2019-03-02 16:55:54 -03:00

30 lines
704 B
Bash

# Template file for 'musl-nscd'
pkgname=musl-nscd
version=1.0.1
revision=1
archs="*-musl"
build_style=gnu-configure
hostmakedepends="bison flex"
short_desc="NSS to NSCD bridge for musl"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://github.com/pikhq/musl-nscd"
distfiles="https://github.com/pikhq/musl-nscd/archive/v$version.tar.gz"
checksum=4d2835c48c009b3d9d8fa9579d9cdf15b4d4e60543036066ee76b1854e19a005
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
}
}