Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 379029
Collapse All | Expand All

(-)delay-1.6.ebuild.old (-6 / +9 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6.ebuild,v 1.24 2011/01/04 17:49:44 jlec Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6.ebuild,v 1.24 2011/01/04 17:49:44 jlec Exp $
4
4
5
EAPI=4
6
5
inherit toolchain-funcs
7
inherit toolchain-funcs
6
8
7
DESCRIPTION="Sleeplike program that counts down the number of seconds specified"
9
DESCRIPTION="Sleeplike program that counts down the number of seconds specified"
Lines 13-26 Link Here
13
KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos"
15
KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos"
14
IUSE=""
16
IUSE=""
15
17
18
src_prepare() {
19
	sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c || die
20
}
21
16
src_compile() {
22
src_compile() {
17
	sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c
23
	emake CC="$(tc-getCC)"
18
	tc-export CC
19
	econf
20
	emake || die
21
}
24
}
22
25
23
src_install() {
26
src_install() {
24
	make DESTDIR="${D}" install || die
27
	default
25
	dodoc ChangeLog README || die
28
	dodoc ChangeLog README
26
}
29
}

Return to bug 379029