summaryrefslogtreecommitdiff
blob: d91054e3539b1643da1fbd51bdddc0420ddafb20 (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-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_P=${P/-}

DESCRIPTION="A small conversion and check utility for ADIF files"
HOMEPAGE="https://github.com/oh7bf/adifmerg"
SRC_URI="http://www.saunalahti.fi/~jaakoive/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
	doman doc/adifmerg.1
	dodoc CHANGELOG README

	if use examples; then
		insinto /usr/share/${PN}
		doins -r script
	fi
}