diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-misc/dateutils/dateutils-0.4.7.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-misc/dateutils/dateutils-0.4.7.ebuild')
-rw-r--r-- | app-misc/dateutils/dateutils-0.4.7.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/dateutils/dateutils-0.4.7.ebuild b/app-misc/dateutils/dateutils-0.4.7.ebuild new file mode 100644 index 000000000000..88466aa59af9 --- /dev/null +++ b/app-misc/dateutils/dateutils-0.4.7.ebuild @@ -0,0 +1,40 @@ +# 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/ https://github.com/hroptatyr/dateutils" + +case "${PV}" in + 9999) + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/hroptatyr/dateutils.git" + ;; + *) + SRC_URI="https://github.com/hroptatyr/dateutils/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +esac + +LICENSE="BSD" +SLOT="0" + +BDEPEND="app-arch/xz-utils" +DEPEND="sys-libs/timezone-data" + +# bug 429810 +RDEPEND="${DEPEND} + !sys-fabric/dapl" + +PATCHES=( + "${FILESDIR}/${PN}-0.4.6-unportable-sys-sysctl_h.patch" +) + +src_prepare() { + default + [[ "${PV}" = 9999 ]] && eautoreconf +} + +src_configure() { + econf CFLAGS="${CFLAGS}" +} |