blob: 6b1b65b208b43b535e68e3b6ba614a725f7c76f5 (
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-2016 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="http://doolittle.icarus.com/ntpclient/"
SRC_URI="http://doolittle.icarus.com/${PN}/${PN}_${PV/./_}.tar.gz -> ${P}.tar.gz"
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_prepare() {
default
sed -i -e 's/-O2//;s/LDFLAGS +=/LDLIBS +=/' Makefile || die
tc-export CC
}
src_install() {
dobin "${PN}"
dodoc README HOWTO rate.awk rate2.awk
}
|