|
Lines 13-22
IUSE=""
Link Here
|
| 13 |
|
13 |
|
| 14 |
RDEPEND=">=dev-lang/perl-5.005" |
14 |
RDEPEND=">=dev-lang/perl-5.005" |
| 15 |
|
15 |
|
|
|
16 |
src_unpack() { |
| 17 |
unpack ${A}; cd ${S} |
| 18 |
|
| 19 |
# Fix path for tests |
| 20 |
sed -i 's,^ when, ./when,' Makefile |
| 21 |
} |
| 22 |
|
| 16 |
src_compile() { |
23 |
src_compile() { |
| 17 |
emake ${PN}.html || die "emake failed" |
24 |
emake ${PN}.html || die "emake failed" |
| 18 |
} |
25 |
} |
| 19 |
|
26 |
|
|
|
27 |
src_test() { |
| 28 |
# The when command requires these files, or attempts to run setup function. |
| 29 |
mkdir ${HOME}/.when |
| 30 |
touch ${HOME}/.when/{calendar,preferences} |
| 31 |
emake test |
| 32 |
} |
| 33 |
|
| 20 |
src_install() { |
34 |
src_install() { |
| 21 |
dobin ${PN} || die "dobin failed" |
35 |
dobin ${PN} || die "dobin failed" |
| 22 |
doman ${PN}.1 || die "doman failed" |
36 |
doman ${PN}.1 || die "doman failed" |