From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kh0gE-0006Pr-S0 for garchives@archives.gentoo.org; Sat, 20 Sep 2008 11:31:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66FFBE039A; Sat, 20 Sep 2008 11:31:13 +0000 (UTC) Received: from tommyserver.de (tommyserver.de [85.14.217.158]) by pigeon.gentoo.org (Postfix) with ESMTP id 3AC30E039A for ; Sat, 20 Sep 2008 11:31:13 +0000 (UTC) Received: from [192.168.178.22] (Q2806.q.pppool.de [89.53.40.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tommyserver.de (Postfix) with ESMTPSA id 46A40C5F1B3 for ; Sat, 20 Sep 2008 13:31:10 +0200 (CEST) Message-ID: <48D4DEF8.10202@gentoo.org> Date: Sat, 20 Sep 2008 13:31:04 +0200 From: Thomas Sachau Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Default src_install for EAPI-2 or following EAPI References: <20080916000101.GJ6035@curie-int.orbis-terrarum.net> In-Reply-To: <20080916000101.GJ6035@curie-int.orbis-terrarum.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=211CA2D4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD4DE894B2AC29BD0DD52076D" X-Archives-Salt: 223c8be6-e2a7-453d-b635-314a57c2dce7 X-Archives-Hash: 2a723436279ac6f66ce5e7580e0e8ad1 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4DE894B2AC29BD0DD52076D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I see, we have a default src_unpack and a default src_compile but a defau= lt 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=3D${D} install || die "emake install failed" [[ -n ${DOCS} ]] && dodoc ${DOCS} else einstall || die "einstall failed" [[ -n ${DOCS} ]] && dodoc ${DOCS} fi } Any comments? --------------enigD4DE894B2AC29BD0DD52076D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQEKAAYFAkjU3v4ACgkQG7kqcTWJkGcvWwQAninBP/mb23jOZJJK/K/lE4VP Vr1NDDoyjIgs7IJ3JTMMlphL+vo0x8vXV7OeIe1VadXUHII7FYtvpd4qCEE9Jp5F B2hYIthAA34NADyLnlFbH8sxUG4WW8dHAfwnVYWpTYn/M4nSH+DIbZHrHl/7VxT8 3+tmZvBXzPG5zUhvSQA= =x5B4 -----END PGP SIGNATURE----- --------------enigD4DE894B2AC29BD0DD52076D--