Lines 14-23
Link Here
|
14 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="amd64 x86" |
16 |
KEYWORDS="amd64 x86" |
17 |
IUSE="" |
17 |
IUSE="cron" |
18 |
|
18 |
|
19 |
DEPEND="" |
19 |
DEPEND="" |
20 |
RDEPEND="virtual/cron" |
20 |
RDEPEND="cron? ( virtual/cron )" |
21 |
|
21 |
|
22 |
S="${WORKDIR}/${MY_P}" |
22 |
S="${WORKDIR}/${MY_P}" |
23 |
|
23 |
|
Lines 42-52
Link Here
|
42 |
dosbin mcelog || die |
42 |
dosbin mcelog || die |
43 |
doman mcelog.8 |
43 |
doman mcelog.8 |
44 |
|
44 |
|
45 |
exeinto /etc/cron.daily |
45 |
if use cron ; then |
46 |
newexe mcelog.cron mcelog || die |
46 |
exeinto /etc/cron.daily |
47 |
|
47 |
newexe mcelog.cron mcelog || die |
48 |
insinto /etc/logrotate.d/ |
48 |
|
49 |
newins mcelog.logrotate mcelog || die |
49 |
insinto /etc/logrotate.d/ |
|
|
50 |
newins mcelog.logrotate mcelog || die |
51 |
else |
52 |
newinitd "${FILESDIR}"/mcelog.init mcelog |
53 |
fi |
50 |
|
54 |
|
51 |
dodoc CHANGES README TODO *.pdf |
55 |
dodoc CHANGES README TODO *.pdf |
52 |
} |
56 |
} |