Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mdsplib/
Date: Sun, 31 Dec 2017 12:44:40
Message-Id: 1514724253.03eabf46a8e6804a949baed265d144231e087416.soap@gentoo
1 commit: 03eabf46a8e6804a949baed265d144231e087416
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 31 12:13:33 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 31 12:44:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03eabf46
7
8 dev-libs/mdsplib: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-libs/mdsplib/mdsplib-0.11.ebuild | 26 +++++++++++++-------------
13 1 file changed, 13 insertions(+), 13 deletions(-)
14
15 diff --git a/dev-libs/mdsplib/mdsplib-0.11.ebuild b/dev-libs/mdsplib/mdsplib-0.11.ebuild
16 index 6247e54974e..47af62190af 100644
17 --- a/dev-libs/mdsplib/mdsplib-0.11.ebuild
18 +++ b/dev-libs/mdsplib/mdsplib-0.11.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2009 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=2
25 -inherit eutils toolchain-funcs
26 +EAPI=6
27 +
28 +inherit toolchain-funcs
29
30 DESCRIPTION="METAR Decoder Software Package Library"
31 HOMEPAGE="http://limulus.net/mdsplib/"
32 @@ -13,20 +14,19 @@ SLOT="0"
33 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
34 IUSE=""
35
36 -src_prepare() {
37 - epatch "${FILESDIR}"/${P}-gentoo.patch
38 +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
39 +
40 +src_configure() {
41 + tc-export AR CC RANLIB
42 }
43
44 src_compile() {
45 - tc-export AR CC RANLIB
46 - emake all || die "emake all failed"
47 + emake all
48 }
49
50 src_install() {
51 - insinto /usr/include
52 - insopts -m0644
53 - doins metar.h || die "doins failed"
54 - dolib.a libmetar.a || die "dolib.a failed"
55 - dodoc README README.MDSP
56 - dobin dmetar || die "dobin failed"
57 + dobin dmetar
58 + doheader metar.h
59 + dolib.a libmetar.a
60 + einstalldocs
61 }