summaryrefslogtreecommitdiff
path: root/dev-libs/mdsplib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/mdsplib')
-rw-r--r--dev-libs/mdsplib/Manifest2
-rw-r--r--dev-libs/mdsplib/mdsplib-0.11.ebuild26
2 files changed, 14 insertions, 14 deletions
diff --git a/dev-libs/mdsplib/Manifest b/dev-libs/mdsplib/Manifest
index 425128906a2e..d81736e49b5e 100644
--- a/dev-libs/mdsplib/Manifest
+++ b/dev-libs/mdsplib/Manifest
@@ -1,4 +1,4 @@
AUX mdsplib-0.11-gentoo.patch 1696 BLAKE2B ffcac6d7bd2b7500b93aed0566ae198515dbe7d1cc8544ba8ee04b861be53ca938f328ffb68bc58891e16079c53b1247855a77416b43d59c5243c4fb4d6c6fc6 SHA512 fe38e841473c82eababd0e40a7cf226f5545b1da0c957e50c737aaa8303a4aff6b5baf52b10dda5711c4313ce4712e9eee60e0b8d2a298fcf8c45be87f83ec46
DIST mdsplib-0.11.tar.gz 70435 BLAKE2B 8a2de901d8f386a989eedb95f85171e93d51e9c87c45b0fb6bfcb76bb3d6394a0a2453cdbbb6cd2b87e64a16eb18201107f7b61fb0747a1c9e53df77f0479c04 SHA512 5baf7c23884ab21d2111a05c97a988ff82b003f0b3243ce5fabe5a9757c149a007e7ec6e0baf80de4fa75630c640b2411598a0b06848c7b96fd6ef070e76a687
-EBUILD mdsplib-0.11.ebuild 697 BLAKE2B 63e05259083a7a6c13cf8781272b6cde2d7f9f6baf0575d9d969b806f522c202667be082ad9bacdb7e478aff53b6a73babb4bc9a952c188579a5f019d5159efe SHA512 8fd2e846db16bbd94402a5e44b30d4d2341a0677950cc89b9047585b2079ad06585f7ca95829e7adc0742a1e6767e8a329f321133e4bcbe3e4cdd7002eec53c6
+EBUILD mdsplib-0.11.ebuild 557 BLAKE2B d59bf5fba6582c20ed1161c35030b4727e4a6e0519b2acbc66f68177ce0c473c58646d6560cc9dcc5c7faeb71d71ac6c4260a3e19571019fcd6640fc048b11ff SHA512 dbf14ed89a15d4f93042e9370c3ecdc12d40087a74f7444127bbb2cb7e1592639394108fdb12b271d78aab5519e3783122e24b1721d629c05897c9c4f5af51f8
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
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
}