forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/dateutils: Added live ebuild
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Matthias Coppens <[email protected]> Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
dc7485a
commit 4471cc3
Showing
4 changed files
with
77 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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" | ||
|
||
src_prepare() { | ||
default | ||
[[ "${PV}" = 9999 ]] && eautoreconf | ||
} | ||
|
||
src_configure() { | ||
econf CFLAGS="${CFLAGS}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<description>Matthias Coppens</description> | ||
<name>Matthias Coppens</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
|