void-packages/srcpkgs/nsss/template

46 lines
1.2 KiB
Bash

# Template file for 'nsss'
pkgname=nsss
version=0.1.0.0
revision=1
# Only available for musl
archs="*-musl"
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 --includedir=/usr/include/nsss"
makedepends="skalibs-devel"
short_desc="Minimal competing implementation of glibc's Name Switch Service"
maintainer="mobinmob <mobinmob@disroot.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=b88a389264a76893ef3ad9c086ea694f32b688ed22fb7480a2a172131c5f3d97
do_check() {
: #checkdepends=s6, creates dependency cycle
}
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
nsss-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
nsss-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}