From: Christian Faulhammer <opfer@gentoo.org>
To: gentoo-dev@lists.gentoo.org, gregkh@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest
Date: Sat, 10 May 2008 09:50:24 +0200 [thread overview]
Message-ID: <20080510095024.6ca6676c@gentoo.org> (raw)
In-Reply-To: <E1JuhoE-0008J2-SF@stork.gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
"Greg Kroah-Hartman (gregkh)" <gregkh@gentoo.org>:
> Added: moreutils-0.29.ebuild ChangeLog Manifest
> Log:
> initial ebuild for the moreutils package
> src_unpack() {
> unpack ${A}
> cd "${WORKDIR}/moreutils"
> epatch "${FILESDIR}/docbook-makefile.patch"
> }
>
> src_compile() {
> cd "${WORKDIR}/moreutils"
> emake CFLAGS="${CFLAGS}" || die "emake failed"
> }
>
> src_install() {
> cd "${WORKDIR}/moreutils"
> emake PREFIX="${D}" install || die "install failed"
> }
Wouldn't it be easier to set S=${WORKDIR}/${PN} instead of cd'ing
three times worthlessly? The line before epatch is necessary though.
V-Li
--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
<URL:http://www.faulhammer.org/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next parent reply other threads:[~2008-05-10 7:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1JuhoE-0008J2-SF@stork.gentoo.org>
2008-05-10 7:50 ` Christian Faulhammer [this message]
2008-05-11 5:05 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080510095024.6ca6676c@gentoo.org \
--to=opfer@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=gregkh@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox