1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 if [[ ${PV} = 9999* ]]; then
8 EGIT_REPO_URI="https://github.com/openrc/${PN}"
10 SRC_URI="https://github.com/openrc/${PN}/archive/${PV}.tar.gz ->
12 KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
15 DESCRIPTION="A standalone utility to process systemd-style tmpfiles.d files"
16 HOMEPAGE="https://github.com/openrc/opentmpfiles"
22 RDEPEND="!<sys-apps/openrc-0.23"
27 for f in opentmpfiles-dev opentmpfiles-setup; do
28 newconfd ${f}.confd ${f}
29 newinitd ${f}.initd ${f}
37 elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
38 ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd}
42 add_service opentmpfiles-dev sysinit
43 add_service opentmpfiles-setup boot