void-packages/srcpkgs/66/template

48 lines
1.2 KiB
Bash
Raw Normal View History

2019-04-11 14:39:36 +00:00
# Template file for '66'
pkgname=66
2019-04-23 21:34:42 +00:00
version=0.1.0.1
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
--dynlibdir=/usr/lib
2019-04-11 14:39:36 +00:00
--libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
2019-04-23 21:34:42 +00:00
hostmakedepends="pkg-config"
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils procps-ng-devel"
2019-04-11 14:39:36 +00:00
depends="s6-rc s6-portable-utils"
short_desc="Helpers tools around s6-rc"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="http://web.obarun.org/software/"
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
2019-04-23 21:34:42 +00:00
checksum=6633b7cf810aa3b59f84b567a57914f51247f7a96fca0879a2f8141b87bd674c
2019-04-11 14:39:36 +00:00
post_install() {
local i
vlicense COPYING
for i in doc/*.html ; do
vdoc $i
done
vdoc README
}
66-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
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
vmove "usr/lib/*.a"
}
}