59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
# Template file for '66'
|
|
pkgname=66
|
|
version=0.6.2.0
|
|
revision=4
|
|
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
|
|
--with-system-dir=/etc/66/lib"
|
|
hostmakedepends="pkg-config lowdown"
|
|
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc-devel"
|
|
depends="s6-rc"
|
|
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://git.obarun.org/Obarun/66/-/raw/master/doc/upgrade.md"
|
|
distfiles="https://git.obarun.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
|
|
checksum=f63600e9f8e53211e421707aae7f98d2fa9d1b0d0b4b39162cf180df12b99c28
|
|
patch_args="-Np1"
|
|
|
|
conf_files="/etc/66/init.conf"
|
|
|
|
system_accounts="_s6log"
|
|
|
|
make_dirs="/var/log/66 0750 _s6log _s6log"
|
|
|
|
pre_configure() {
|
|
|
|
# Clean the default $PATH for service scripts
|
|
vsed -i "s@PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin@PATH=/usr/bin:/usr/sbin@" \
|
|
"${wrksrc}/skel/init.conf"
|
|
}
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|