Gentoo Archives: gentoo-dev

From: Christian Faulhammer <opfer@g.o>
To: gentoo-dev@l.g.o, gregkh@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest
Date: Sat, 10 May 2008 07:50:37
Message-Id: 20080510095024.6ca6676c@gentoo.org
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/>

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies