Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Jeff Kowing <jeffrey.d.kowing@...>
Subject: ebuild vs makefile
Date: Fri, 18 Apr 2003 10:47:06 -0500
I have a question concerning when should building/installation
commands go directly into an ebuild vs. when should it be put into a
Makefile (using a patch if a Makefile for the package already exists).

The question comes up because I've been trying to create an ebuild for
xmlto (a very nice frontend wrapper tool to simplify processing
docbook to pdf,html,ps).  This got me looking at the passivetex-1.4
ebuild which creates a Makefile (there is no Makefile with the
passivetex distribution) to do creation of directories and simple
copying of source files to the destination.  The Makefile contains
'mkdir' and 'cp' like commands that I would have normally thought
would best go directly into the ebuild itself.

On the otherhand, by creating/patching the Makefile, I can see that it
might have the benefit of going back upstream to the creator of the
package itself which would simplify creating an ebuild/deb/rpm for all
distributions for later releases.

Anyways, I wondered if some of the ebuild gurus would share their
thoughts or general rules of thumb for when to do it in the ebuild
vs. when to do it by patching or creating a Makefile.

Thanks.

By the way, I mention the passivetex ebuild only to give a concrete
example.  I am very grateful to the passivetex ebuild creators and
thank them for their contribution!

-- 
Jeff Kowing
jeffrey.d.kowing@...

--
gentoo-dev@g.o mailing list

Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
New cvs.eclass
Next by thread:
possible bug in ebuild system
Previous by date:
Re: GUI installer
Next by date:
Re: livecd-ng-1.0.ebuild


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.