summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-08-14 14:36:54 +0000
committerJustin Lecher <jlec@gentoo.org>2011-08-14 14:36:54 +0000
commitb8e6bbbce15cee17014b060c2b57396f2f9c8aa6 (patch)
tree5cb797fc5295c8d4e1ae81db33286e3fa925a3b9 /app-misc
parentCleaned old version (diff)
downloadgentoo-2-b8e6bbbce15cee17014b060c2b57396f2f9c8aa6.tar.gz
gentoo-2-b8e6bbbce15cee17014b060c2b57396f2f9c8aa6.tar.bz2
gentoo-2-b8e6bbbce15cee17014b060c2b57396f2f9c8aa6.zip
Enhanced ebuild based on patch proposed by Agostino Sarubbo, #379029
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/delay/ChangeLog7
-rw-r--r--app-misc/delay/delay-1.6-r1.ebuild21
2 files changed, 27 insertions, 1 deletions
diff --git a/app-misc/delay/ChangeLog b/app-misc/delay/ChangeLog
index 23032e00b171..86ef2d49a582 100644
--- a/app-misc/delay/ChangeLog
+++ b/app-misc/delay/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/delay
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/ChangeLog,v 1.21 2011/01/04 17:49:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/ChangeLog,v 1.22 2011/08/14 14:36:54 jlec Exp $
+
+*delay-1.6-r1 (14 Aug 2011)
+
+ 14 Aug 2011; Justin Lecher <jlec@gentoo.org> +delay-1.6-r1.ebuild:
+ Enhanced ebuild based on patch proposed by Agostino Sarubbo, #379029
04 Jan 2011; Justin Lecher <jlec@gentoo.org> delay-1.6.ebuild:
Some Clean up
diff --git a/app-misc/delay/delay-1.6-r1.ebuild b/app-misc/delay/delay-1.6-r1.ebuild
new file mode 100644
index 000000000000..1523f2922165
--- /dev/null
+++ b/app-misc/delay/delay-1.6-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6-r1.ebuild,v 1.1 2011/08/14 14:36:54 jlec Exp $
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Sleeplike program that counts down the number of seconds specified"
+HOMEPAGE="http://onegeek.org/~tom/software/delay/"
+SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+src_prepare() {
+ sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c || die
+ tc-export CC
+}