summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-15 06:50:16 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-15 06:50:16 +0000
commit37a378f3802b75743974a6795a3cb4931a4aa414 (patch)
treefea58ade2a0342af24824b22b5f82baa680ec20b /app-misc/dateutils
parentFix manifest, bug #385699 comment 27. (diff)
downloadgentoo-2-37a378f3802b75743974a6795a3cb4931a4aa414.tar.gz
gentoo-2-37a378f3802b75743974a6795a3cb4931a4aa414.tar.bz2
gentoo-2-37a378f3802b75743974a6795a3cb4931a4aa414.zip
Initial import.
(Portage version: 2.2.0_alpha66/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/dateutils')
-rw-r--r--app-misc/dateutils/ChangeLog10
-rw-r--r--app-misc/dateutils/dateutils-0.1.5_rc2.ebuild29
-rw-r--r--app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch12
-rw-r--r--app-misc/dateutils/metadata.xml8
4 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/dateutils/ChangeLog b/app-misc/dateutils/ChangeLog
new file mode 100644
index 000000000000..c20316ee5f5b
--- /dev/null
+++ b/app-misc/dateutils/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/dateutils
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/ChangeLog,v 1.1 2011/10/15 06:50:16 radhermit Exp $
+
+*dateutils-0.1.5_rc2 (15 Oct 2011)
+
+ 15 Oct 2011; Tim Harder <radhermit@gentoo.org> +dateutils-0.1.5_rc2.ebuild,
+ +files/dateutils-0.1.5_rc2-header.patch, +metadata.xml:
+ Initial import.
+
diff --git a/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild b/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild
new file mode 100644
index 000000000000..9fc096ad1e04
--- /dev/null
+++ b/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild,v 1.1 2011/10/15 06:50:16 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils
+
+MY_P="${P/_/}"
+DESCRIPTION="Command line date and time utilities"
+HOMEPAGE="http://hroptatyr.github.com/dateutils/"
+SRC_URI="mirror://github/hroptatyr/${PN}/${MY_P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-header.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
diff --git a/app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch b/app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch
new file mode 100644
index 000000000000..0593d278b8a9
--- /dev/null
+++ b/app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch
@@ -0,0 +1,12 @@
+Fix for QA warning: implicit declaration of function 'gettimeofday'
+
+--- dateutils-0.1.5rc2/lib/time-core.c.orig
++++ dateutils-0.1.5rc2/lib/time-core.c
+@@ -42,6 +42,7 @@
+ #include <stdio.h>
+ #include <stdbool.h>
+ #include <time.h>
++#include <sys/time.h>
+ #include "strops.h"
+
+ #if !defined LIKELY
diff --git a/app-misc/dateutils/metadata.xml b/app-misc/dateutils/metadata.xml
new file mode 100644
index 000000000000..157326a7e891
--- /dev/null
+++ b/app-misc/dateutils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>