Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=6 |
|
|
5 |
inherit prefix |
5 |
|
6 |
|
6 |
if [[ ${PV} = 9999* ]]; then |
7 |
if [[ ${PV} = 9999* ]]; then |
7 |
inherit git-r3 |
8 |
inherit git-r3 |
Lines 9-15
Link Here
|
9 |
else |
10 |
else |
10 |
SRC_URI="https://github.com/openrc/${PN}/archive/${PV}.tar.gz -> |
11 |
SRC_URI="https://github.com/openrc/${PN}/archive/${PV}.tar.gz -> |
11 |
${P}.tar.gz" |
12 |
${P}.tar.gz" |
12 |
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
13 |
fi |
14 |
fi |
14 |
|
15 |
|
15 |
DESCRIPTION="A standalone utility to process systemd-style tmpfiles.d files" |
16 |
DESCRIPTION="A standalone utility to process systemd-style tmpfiles.d files" |
Lines 22-29
Link Here
|
22 |
RDEPEND="!<sys-apps/openrc-0.23 |
23 |
RDEPEND="!<sys-apps/openrc-0.23 |
23 |
selinux? ( sec-policy/selinux-base-policy )" |
24 |
selinux? ( sec-policy/selinux-base-policy )" |
24 |
|
25 |
|
25 |
src_install() { |
26 |
src_prepare() { |
26 |
default |
27 |
default |
|
|
28 |
hprefixify tmpfiles |
29 |
} |
30 |
src_install() { |
31 |
emake DESTDIR="${ED}" install |
32 |
einstalldocs |
27 |
cd openrc |
33 |
cd openrc |
28 |
for f in opentmpfiles-dev opentmpfiles-setup; do |
34 |
for f in opentmpfiles-dev opentmpfiles-setup; do |
29 |
newconfd ${f}.confd ${f} |
35 |
newconfd ${f}.confd ${f} |