diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-31 22:30:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-31 22:30:36 +0000 |
commit | 618c3037024b4e5328531cdc07c6ceb7486f5329 (patch) | |
tree | 7c9f8d50c6f5fbd53f3df583c471f5d2e5c34202 /dev-libs/mdsplib/mdsplib-0.11.ebuild | |
parent | 76dfef0cec9170000357d2f354e412daf48941fc (diff) |
gentoo resync : 31.12.2017 (final resync this year)
Diffstat (limited to 'dev-libs/mdsplib/mdsplib-0.11.ebuild')
-rw-r--r-- | dev-libs/mdsplib/mdsplib-0.11.ebuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/dev-libs/mdsplib/mdsplib-0.11.ebuild b/dev-libs/mdsplib/mdsplib-0.11.ebuild index 6247e54974ef..47af62190af3 100644 --- a/dev-libs/mdsplib/mdsplib-0.11.ebuild +++ b/dev-libs/mdsplib/mdsplib-0.11.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils toolchain-funcs +EAPI=6 + +inherit toolchain-funcs DESCRIPTION="METAR Decoder Software Package Library" HOMEPAGE="http://limulus.net/mdsplib/" @@ -13,20 +14,19 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_configure() { + tc-export AR CC RANLIB } src_compile() { - tc-export AR CC RANLIB - emake all || die "emake all failed" + emake all } src_install() { - insinto /usr/include - insopts -m0644 - doins metar.h || die "doins failed" - dolib.a libmetar.a || die "dolib.a failed" - dodoc README README.MDSP - dobin dmetar || die "dobin failed" + dobin dmetar + doheader metar.h + dolib.a libmetar.a + einstalldocs } |