summaryrefslogtreecommitdiff
blob: 1b87f1f32d2269cf1e9311df1f91f54b04f24fda (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit eutils flag-o-matic toolchain-funcs

DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers"
HOMEPAGE="https://github.com/troglobit/ntpclient"
SRC_URI="https://github.com/troglobit/ntpclient/releases/download/2017_217/ntpclient-2017_217.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

src_unpack() {
	default
	mv "${WORKDIR}"/${PN}* ${P} || die
}

src_install() {
	dobin "src/${PN}"
	dodoc README.md
	dodoc "doc/HOWTO.md" "doc/rate.awk" "doc/rate2.awk"
}