void-packages/srcpkgs/musl-nscd/template

29 lines
672 B
Bash

# Template file for 'musl-nscd'
pkgname=musl-nscd
version=1.0.3
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=d0aae668bf2b5d0dd1e22fd00feec6cb0e0a6801c63a13827d4f407c33d8933a
CFLAGS="-fcommon"
post_install() {
vlicense COPYRIGHT
vsv nscd
}
musl-nscd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}