void-packages/srcpkgs/nsss/template

47 lines
1.1 KiB
Bash
Raw Normal View History

2018-08-18 13:47:53 +00:00
# Template file for 'nsss'
pkgname=nsss
version=0.0.1.0
2018-08-18 19:33:05 +00:00
revision=2
2018-08-18 13:47:53 +00:00
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="maxice8 <thinkabit.ukim@gmail.com>"
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=20864cf8a05c0dbcd64b8855f9ff9f0ed068c69281cd2b310364c27df72a4838
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) broken="Only available on musl" ;;
esac
post_install() {
vlicense COPYING
2018-08-18 19:33:05 +00:00
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
nsss-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
2018-08-18 13:47:53 +00:00
}
nsss-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}