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: Petteri Räty <betelgeuse@g.o>
Subject: Re: Default src_install for EAPI-2 or following EAPI
Date: Sat, 20 Sep 2008 22:07:52 +0300
Thomas Sachau kirjoitti:
> 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?
> 

einstall uses make so doesn't really make sense.

Regards,
Petteri

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: Default src_install for EAPI-2 or following EAPI
-- Thomas Sachau
References:
Bugzilla3 and Bugzilla Survey 2008
-- Robin H. Johnson
Default src_install for EAPI-2 or following EAPI
-- Thomas Sachau
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Default src_install for EAPI-2 or following EAPI
Next by thread:
Re: Default src_install for EAPI-2 or following EAPI
Previous by date:
Re: Making built_with_use die by default with EAPI 2
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.