summaryrefslogtreecommitdiff
blob: 4c2d98f9ec2115006e4e7d2f4b9f71f632547d25 (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
31
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_P=${P/-}

DESCRIPTION="A small conversion and check utility for ADIF files"
HOMEPAGE="http://jaakko.home.cern.ch/jaakko/Soft/"
SRC_URI="http://jaakko.home.cern.ch/jaakko/Soft/${MY_P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"

RDEPEND="dev-lang/perl"

S=${WORKDIR}/${MY_P}

src_install() {
	dobin adifmerg || die "dobin failed"
	insinto /usr/share/${PN}
	doins template.cab || die "doins failed"
	doman doc/adifmerg.1 || die "doman failed"
	dodoc CHANGELOG README || die "dodoc failed"

	if use examples; then
		docinto examples
		dodoc addqsoinfo calcpnts lqslget lqsoget || die "dodoc failed"
	fi
}