1 |
"Greg Kroah-Hartman (gregkh)" <gregkh@g.o>: |
2 |
|
3 |
> Added: moreutils-0.29.ebuild ChangeLog Manifest |
4 |
> Log: |
5 |
> initial ebuild for the moreutils package |
6 |
> src_unpack() { |
7 |
> unpack ${A} |
8 |
> cd "${WORKDIR}/moreutils" |
9 |
> epatch "${FILESDIR}/docbook-makefile.patch" |
10 |
> } |
11 |
> |
12 |
> src_compile() { |
13 |
> cd "${WORKDIR}/moreutils" |
14 |
> emake CFLAGS="${CFLAGS}" || die "emake failed" |
15 |
> } |
16 |
> |
17 |
> src_install() { |
18 |
> cd "${WORKDIR}/moreutils" |
19 |
> emake PREFIX="${D}" install || die "install failed" |
20 |
> } |
21 |
|
22 |
|
23 |
Wouldn't it be easier to set S=${WORKDIR}/${PN} instead of cd'ing |
24 |
three times worthlessly? The line before epatch is necessary though. |
25 |
|
26 |
V-Li |
27 |
|
28 |
-- |
29 |
Christian Faulhammer, Gentoo Lisp project |
30 |
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
31 |
|
32 |
<URL:http://www.faulhammer.org/> |