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 1Kh7o8-0004Rx-Ka for garchives@archives.gentoo.org; Sat, 20 Sep 2008 19:07:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 161B7E0549; Sat, 20 Sep 2008 19:07:52 +0000 (UTC) Received: from smtp-3.tky.hut.fi (smtp03.tky.fi [82.130.63.73]) by pigeon.gentoo.org (Postfix) with SMTP id C39C8E0549 for ; Sat, 20 Sep 2008 19:07:51 +0000 (UTC) Received: from [82.130.46.209] ([82.130.46.209]) by smtp-3.tky.hut.fi (SMSSMTP 4.1.9.35) with SMTP id M2008092022075027209 for ; Sat, 20 Sep 2008 22:07:50 +0300 Message-ID: <48D54A08.7050603@gentoo.org> Date: Sat, 20 Sep 2008 22:07:52 +0300 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Thunderbird 2.0.0.16 (X11/20080729) 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: Re: [gentoo-dev] Default src_install for EAPI-2 or following EAPI References: <20080916000101.GJ6035@curie-int.orbis-terrarum.net> <48D4DEF8.10202@gentoo.org> In-Reply-To: <48D4DEF8.10202@gentoo.org> X-Enigmail-Version: 0.95.6 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAD274E515187650145AE02C1" X-Archives-Salt: 126004e8-0220-4b30-8b60-a857c8dff433 X-Archives-Hash: 1575635a146e71a5d4755c9402eb01b6 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAD274E515187650145AE02C1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Thomas Sachau kirjoitti: > I see, we have a default src_unpack and a default src_compile but a def= ault src_install is still > missing. Here is my suggestion (taken and modified from bug 33544): >=20 > 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 > } >=20 > Any comments? >=20 einstall uses make so doesn't really make sense. Regards, Petteri --------------enigAD274E515187650145AE02C1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjVSggACgkQcxLzpIGCsLS9rwCfTQlpt2nFT/keN3kNuZT6oI5L s7YAniIi7XaRw/BR/jUyFMtZq/Y9jbMI =Nj8N -----END PGP SIGNATURE----- --------------enigAD274E515187650145AE02C1--