diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/mdsplib/mdsplib-0.11.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/mdsplib/mdsplib-0.11.ebuild')
-rw-r--r-- | dev-libs/mdsplib/mdsplib-0.11.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/mdsplib/mdsplib-0.11.ebuild b/dev-libs/mdsplib/mdsplib-0.11.ebuild new file mode 100644 index 000000000000..6247e54974ef --- /dev/null +++ b/dev-libs/mdsplib/mdsplib-0.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="METAR Decoder Software Package Library" +HOMEPAGE="http://limulus.net/mdsplib/" +SRC_URI="http://limulus.net/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + tc-export AR CC RANLIB + emake all || die "emake all failed" +} + +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" +} |