diff options
Diffstat (limited to 'net-misc/ntpclient/ntpclient-2018.244-r1.ebuild')
-rw-r--r-- | net-misc/ntpclient/ntpclient-2018.244-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild b/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild new file mode 100644 index 000000000000..a76559041406 --- /dev/null +++ b/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="${PV/./_}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client for unix-alike systems" +HOMEPAGE="https://github.com/troglobit/ntpclient" +SRC_URI="https://github.com/troglobit/${PN}/releases/download/${MY_PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug embedded obsolete +syslog" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-linux-headers-5.2.patch" +) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable debug replay) + $(use_enable embedded mini) + $(use_enable obsolete) + $(use_enable !obsolete siocgstamp) + $(use_enable syslog) + ) + + econf "${myeconfargs[@]}" +} |