public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest
       [not found] <E1JuhoE-0008J2-SF@stork.gentoo.org>
@ 2008-05-10  7:50 ` Christian Faulhammer
  2008-05-11  5:05   ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Faulhammer @ 2008-05-10  7:50 UTC (permalink / raw
  To: gentoo-dev, gregkh

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest
  2008-05-10  7:50 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest Christian Faulhammer
@ 2008-05-11  5:05   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-05-11  5:05 UTC (permalink / raw
  To: Christian Faulhammer; +Cc: gentoo-dev

On Sat, May 10, 2008 at 09:50:24AM +0200, Christian Faulhammer wrote:
> "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.

Didn't realize I could override that, I'll consider it if I can't
convince upstream to put the version number in the directory name :)

thanks,

greg k-h
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-11  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JuhoE-0008J2-SF@stork.gentoo.org>
2008-05-10  7:50 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.29.ebuild ChangeLog Manifest Christian Faulhammer
2008-05-11  5:05   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox