48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
# Template file for '66'
|
|
pkgname=66
|
|
version=0.5.1.1
|
|
revision=2
|
|
wrksrc="66-v${version}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib
|
|
--with-s6-log-timestamp=iso
|
|
--with-s6-log-user=_s6log"
|
|
hostmakedepends="pkg-config lowdown"
|
|
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc-devel"
|
|
short_desc="Small tools built around s6 and s6-rc programs"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="http://web.obarun.org/software/"
|
|
changelog="https://framagit.org/Obarun/66/raw/master/NEWS.md"
|
|
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
|
|
checksum=7a0db00186f1c2111d07cbcc082f769c806820607d7ba5f49e505abf06687e0c
|
|
|
|
conf_files="/etc/66/init /etc/66/init.conf"
|
|
|
|
system_accounts="_s6log"
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
vlicense COPYING
|
|
}
|
|
|
|
66-doc_package() {
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
vmove usr/share/man
|
|
}
|
|
}
|
|
|
|
66-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib
|
|
}
|
|
}
|