64 lines
1.5 KiB
Bash
64 lines
1.5 KiB
Bash
# Template file for '66'
|
|
pkgname=66
|
|
version=0.2.3.2
|
|
revision=1
|
|
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"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel
|
|
s6-rc-devel procps-ng-devel"
|
|
depends="s6-portable-utils"
|
|
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"
|
|
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
|
|
checksum=8558336e38cf2fd657abf064803fb94f906d857a370d7a4a71ac68004426fe5a
|
|
|
|
conf_files="/etc/66/init /etc/66/init.conf"
|
|
make_dirs="
|
|
/var/log/66 0755 root root
|
|
/var/lib/66 0755 root root
|
|
/usr/share/66/service 0755 root root
|
|
/etc/66/service 0755 root root
|
|
/etc/66/conf 0755 root root"
|
|
|
|
|
|
pre_build() {
|
|
make man
|
|
}
|
|
|
|
post_install() {
|
|
local i
|
|
vlicense COPYING
|
|
for i in doc/html/*.html ; do
|
|
vdoc $i
|
|
done
|
|
vdoc README
|
|
for i in doc/man/*.{1,5,8} ; do
|
|
vman $i
|
|
done
|
|
}
|
|
|
|
66-doc_package() {
|
|
archs=noarch
|
|
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
|
|
}
|
|
}
|