* [gentoo-dev] ebuilder...
@ 2002-03-22 23:24 Zach Forrest
0 siblings, 0 replies; only message in thread
From: Zach Forrest @ 2002-03-22 23:24 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
Good afternoon.
I know there's a new ebuild freeze (at least I think that's still the
case), but I thought this might interest some of you. Ebuilder is kind
of like mkebuild on steroids (ebuilder was, in fact, inspired by
mkebuild and uses a little bit of the code). It allows you to
interactively build a package *very* quickly (you can very often just
hit enter to proceed without having to fill anything in), giving you
reasonbly intelligent defaults. It has support for Python's Distutils,
has customizable templates (located in ~/.ebuilder/templates after
you've run ebuilder for the first time), and a config utility so you
don't have to edit the config file by hand. There are currently two
templates: one for beginners (this template is based on skel.ebuild) and
one for people who want the bare bones. The config utility asks you
which one you'd prefer to use. You are also prompted to insert some of
the lesser used ebuild methods such as pkg_preinst() and the like when
you are creating your ebuild.
Caveat: the ebuilder-0.2.ebuild required customization in the
src_install() method, but that's it. Currently there is no support for
using the likes of dosbin, dodir, etc. However, the package archive is
searched for files commonly installed in /usr/share/doc/... and will put
those into the ebuild file for you.
This is probably a good candidate for gentoolkit.
Have fun.
zach
P.S. If the ebuild freeze is over, please let me know so I can submit
this to bugzilla.
[-- Attachment #2: ebuilder-0.2.ebuild --]
[-- Type: text/plain, Size: 837 bytes --]
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Zach Forrest <zach@disinformation.ca>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp
# This ebuild was generated by Ebuilder v0.2.
S="${WORKDIR}/${P}"
DESCRIPTION="Package Builder for Gentoo Linux"
SRC_URI="http://www.disinformation.ca/gentoo/${P}.tar.gz"
HOMEPAGE="http://www.disinformation.ca/gentoo"
DEPEND=""
RDEPEND="${DEPEND}"
src_compile() {
echo "Nothing to compile for ${P}."
}
src_install () {
dodir /usr/share/ebuilder
dodir /usr/share/ebuilder/templates
insinto /usr/share/ebuilder/templates
doins templates/beginner.ebuild
doins templates/expert.ebuild
dosbin ebuilder
# Install documentation.
dodoc AUTHORS COPYING NEWS README TODO
}
[-- Attachment #3: digest-ebuilder-0.2 --]
[-- Type: text/plain, Size: 63 bytes --]
MD5 f590dd6e6f220cf1fe0d8eac8ff61a16 ebuilder-0.2.tar.gz 18217
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-22 23:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 23:24 [gentoo-dev] ebuilder Zach Forrest
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox