summaryrefslogtreecommitdiff
path: root/net-misc/netdate/netdate-1.2-r3.ebuild
blob: a25af1e6b099be3ba21d6cee2951615ce3bf9a23 (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
32
33
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Utility to set date and time by ARPA Internet RFC 868"
HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/"
SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/ipv6/${P}.tar.bz2"
S="${WORKDIR}/${PN}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 arm ~mips ~s390 ~sparc x86"

DOCS=( README )

src_configure() {
	# bug #945027
	append-cflags -std=gnu17
	default
}

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	dobin "${PN}"
	doman "${PN}.8"
	einstalldocs
}