-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
48 lines (43 loc) · 1.24 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Template file for 'nsss'
pkgname=nsss
version=0.2.0.3
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
$(vopt_if static --enable-static-libc)"
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=b1e397ed5b327611a7c2c8c1dc60e91fef353c54fead464f887720bc0914148e
build_options="static"
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"
}
}