void-packages/srcpkgs/66/template

65 lines
1.5 KiB
Bash
Raw Normal View History

2019-04-11 14:39:36 +00:00
# Template file for '66'
pkgname=66
2019-09-24 18:57:02 +00:00
version=0.2.1.2
2019-04-11 14:39:36 +00:00
revision=1
wrksrc="66-v${version}"
2019-04-23 21:34:42 +00:00
build_style=configure
configure_args="--prefix=/usr
2019-04-11 14:39:36 +00:00
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
2019-07-16 09:08:14 +00:00
hostmakedepends="pkg-config scdoc"
2019-07-20 17:55:17 +00:00
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel
s6-rc-devel procps-ng-devel"
depends="s6-portable-utils"
2019-09-24 18:57:02 +00:00
short_desc="Small tools built around s6 and s6-rc programs"
2019-04-11 14:39:36 +00:00
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
2019-07-21 15:00:05 +00:00
changelog="https://framagit.org/Obarun/66/raw/master/NEWS"
2019-04-11 14:39:36 +00:00
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
2019-09-24 18:57:02 +00:00
checksum=9c3430ab291ec83e74faa05634614e1d851e2bc18fe173963d8fe5313c2dd337
2019-07-16 09:08:14 +00:00
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
}
2019-04-11 14:39:36 +00:00
post_install() {
local i
vlicense COPYING
2019-07-16 09:08:14 +00:00
for i in doc/html/*.html ; do
2019-04-11 14:39:36 +00:00
vdoc $i
done
vdoc README
2019-07-16 09:08:14 +00:00
for i in doc/man/*.{1,5,8} ; do
vman $i
done
2019-04-11 14:39:36 +00:00
}
66-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
2019-07-16 09:08:14 +00:00
vmove usr/share/man
2019-04-11 14:39:36 +00:00
}
}
66-devel_package() {
2019-04-23 21:34:42 +00:00
short_desc+=" - development files"
2019-04-11 14:39:36 +00:00
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
2019-07-16 09:08:14 +00:00
vmove usr/lib
2019-04-11 14:39:36 +00:00
}
}