mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/mdsplib: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user