summaryrefslogtreecommitdiff
blob: ecb3aac5fda148b5134e7fab26b0186efd6f118c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mdsplib/mdsplib-0.11.ebuild,v 1.3 2005/10/07 08:58:10 dragonheart Exp $

DESCRIPTION="METAR Decoder Software Package Library"
HOMEPAGE="http://limulus.net/mdsplib/"
SRC_URI="http://limulus.net/mdsplib/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="virtual/libc"

src_compile() {
	emake -e all || die "make failed"
}

src_install() {
	insinto /usr/include
	insopts -m0644
	newins ${S}/metar.h metar.h
	insinto /usr/lib
	insopts -m0644
	newins ${S}/libmetar.a libmetar.a
	dodoc README README.MDSP
	dobin dmetar
}