46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Template file for 'nsss'
|
|
pkgname=nsss
|
|
version=0.0.2.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib
|
|
--bindir=/usr/bin --dynlibdir=/usr/lib"
|
|
makedepends="skalibs-devel"
|
|
short_desc="Minimal competing implementation of glibc's Name Switch Service"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/nsss/"
|
|
changelog="https://skarnet.org/software/nsss/upgrade.html"
|
|
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
|
|
checksum=be80015c1fa79e418a3cebf49c1b6e3136d536e6eef8db33f749507b585075f1
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) ;;
|
|
*) broken="Only available on musl" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
nsss-doc_package() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
|
|
nsss-devel_package() {
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|