From: Thomas Sachau <tommy@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Default src_install for EAPI-2 or following EAPI
Date: Sat, 20 Sep 2008 13:31:04 +0200 [thread overview]
Message-ID: <48D4DEF8.10202@gentoo.org> (raw)
In-Reply-To: <20080916000101.GJ6035@curie-int.orbis-terrarum.net>
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
I see, we have a default src_unpack and a default src_compile but a default src_install is still
missing. Here is my suggestion (taken and modified from bug 33544):
src_install() {
if [ -f Makefile -o -f GNUmakefile -o -f makefile ]; then
emake DESTDIR=${D} install || die "emake install failed"
[[ -n ${DOCS} ]] && dodoc ${DOCS}
else
einstall || die "einstall failed"
[[ -n ${DOCS} ]] && dodoc ${DOCS}
fi
}
Any comments?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
next prev parent reply other threads:[~2008-09-20 11:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 0:01 [gentoo-dev] Bugzilla3 and Bugzilla Survey 2008 Robin H. Johnson
2008-09-20 11:31 ` Thomas Sachau [this message]
2008-09-20 12:12 ` [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI Steve Long
2008-09-20 19:07 ` [gentoo-dev] " Petteri Räty
2008-09-21 0:47 ` Thomas Sachau
2008-09-21 7:55 ` Fabian Groffen
[not found] <bcwiO-7zO-1@gated-at.bofh.it>
2008-09-21 20:46 ` [gentoo-dev] " Ulrich Mueller
2008-09-23 19:39 ` Thomas Sachau
2008-09-23 23:21 ` Bo Ørsted Andresen
2008-09-24 7:46 ` Nirbheek Chauhan
2008-09-27 10:17 ` Thomas Sachau
2008-09-29 5:16 ` Nirbheek Chauhan
2008-09-30 17:05 ` Petteri Räty
2008-10-05 8:52 ` [gentoo-dev] " Ulrich Mueller
2008-10-05 14:15 ` Robert Buchholz
2008-10-05 15:45 ` Ulrich Mueller
2008-10-05 16:47 ` Robert Buchholz
2008-10-05 17:03 ` Ulrich Mueller
2008-10-05 17:58 ` Thomas Sachau
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=48D4DEF8.10202@gentoo.org \
--to=tommy@gentoo.org \
--cc=gentoo-dev@lists.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