32 lines
827 B
Bash
32 lines
827 B
Bash
|
# 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
|
||
|
}
|
||
|
}
|