"Greg Kroah-Hartman (gregkh)" <[EMAIL PROTECTED]>: > 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/>
signature.asc
Description: PGP signature