34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 's6-portable-utils'
|
|
pkgname=s6-portable-utils
|
|
version=2.2.5.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --libdir=/usr/lib --includedir=/usr/include
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib
|
|
$(vopt_if static --enable-static-libc)"
|
|
makedepends="skalibs-devel"
|
|
short_desc="Tiny portable generic utilities (s6-cat, s6-chmod, etc.)"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/s6-portable-utils/"
|
|
changelog="https://skarnet.org/software/s6-portable-utils/upgrade.html"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=ebb39f8934fd36f25d31352e61bbd94dc02b1e9f04411850d2fd9658bd916e36
|
|
|
|
build_options="static"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README
|
|
vcopy "doc/*" usr/share/doc/${pkgname}
|
|
}
|
|
|
|
s6-portable-utils-doc_package() {
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|