Files
gentoo/app-misc/dateutils/dateutils-0.4.6.ebuild
T
David Seifert de1a356573 app-misc/dateutils: Remove glibc-specific <sys/sysctl.h> include
Closes: https://bugs.gentoo.org/713182
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
2020-03-21 16:01:47 +01:00

30 lines
604 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="command line date and time utilities"
HOMEPAGE="https://www.fresse.org/dateutils/"
SRC_URI="https://bitbucket.org/hroptatyr/${PN}/downloads/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/xz-utils
sys-libs/timezone-data"
# bug 429810
RDEPEND="!sys-fabric/dapl"
PATCHES=( "${FILESDIR}"/${P}-unportable-sys-sysctl_h.patch )
src_compile() {
emake CFLAGS="${CFLAGS}"
}
src_test() {
# parallel tests failure
emake CFLAGS="${CFLAGS}" -j1 check
}