diff options
author | Matthias Coppens <coppens.matthias.abc@gmail.com> | 2020-08-09 17:08:53 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-08-19 18:47:54 +0000 |
commit | 4471cc36a86e40e7d2607a8de1cf69a34f913c7f (patch) | |
tree | b75330ba28b4dc8f56409ffc2045c34b8df53bbb /app-misc/dateutils/dateutils-0.4.6.ebuild | |
parent | app-misc/dateutils: Version bump (0.4.7) + maintainership (diff) | |
download | gentoo-4471cc36a86e40e7d2607a8de1cf69a34f913c7f.tar.gz gentoo-4471cc36a86e40e7d2607a8de1cf69a34f913c7f.tar.bz2 gentoo-4471cc36a86e40e7d2607a8de1cf69a34f913c7f.zip |
app-misc/dateutils: Added live ebuild
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/dateutils/dateutils-0.4.6.ebuild')
-rw-r--r-- | app-misc/dateutils/dateutils-0.4.6.ebuild | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/app-misc/dateutils/dateutils-0.4.6.ebuild b/app-misc/dateutils/dateutils-0.4.6.ebuild index 7b12131bfecd..c785ee95ac5f 100644 --- a/app-misc/dateutils/dateutils-0.4.6.ebuild +++ b/app-misc/dateutils/dateutils-0.4.6.ebuild @@ -4,26 +4,35 @@ 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" +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" -KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/xz-utils - sys-libs/timezone-data" +BDEPEND="app-arch/xz-utils" +DEPEND="sys-libs/timezone-data" # bug 429810 -RDEPEND="!sys-fabric/dapl" +RDEPEND="${DEPEND} + !sys-fabric/dapl" PATCHES=( "${FILESDIR}"/${P}-unportable-sys-sysctl_h.patch ) -src_compile() { - emake CFLAGS="${CFLAGS}" +src_prepare() { + default + [[ "${PV}" = 9999 ]] && eautoreconf } -src_test() { - # parallel tests failure - emake CFLAGS="${CFLAGS}" -j1 check +src_configure() { + econf CFLAGS="${CFLAGS}" } |