Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Thomas Sachau <tommy@g.o>
Subject: Default src_install for EAPI-2 or following EAPI
Date: Sat, 20 Sep 2008 13:31:04 +0200
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:
signature.asc (OpenPGP digital signature)
Replies:
Re: Default src_install for EAPI-2 or following EAPI
-- Petteri Räty
Re: Default src_install for EAPI-2 or following EAPI
-- Steve Long
References:
Bugzilla3 and Bugzilla Survey 2008
-- Robin H. Johnson
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Bugzilla3 and Bugzilla Survey 2008
Next by thread:
Re: Default src_install for EAPI-2 or following EAPI
Previous by date:
Re: Jeeves IRC replacement now alive - Willikins
Next by date:
Re: Default src_install for EAPI-2 or following EAPI


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.