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.16 2008/03/26 18:47:31 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6.ebuild,v 1.16 2008/03/26 18:47:31 armin76 Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit toolchain-funcs |
6 |
|
5 |
DESCRIPTION="sleeplike program that counts down the number of seconds specified" |
7 |
DESCRIPTION="sleeplike program that counts down the number of seconds specified" |
6 |
HOMEPAGE="http://onegeek.org/~tom/software/delay/" |
8 |
HOMEPAGE="http://onegeek.org/~tom/software/delay/" |
7 |
SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz" |
9 |
SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz" |
Lines 15-21
Link Here
|
15 |
|
17 |
|
16 |
src_compile() { |
18 |
src_compile() { |
17 |
sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c |
19 |
sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c |
18 |
./configure \ |
20 |
tc-export CC |
|
|
21 |
econf \ |
19 |
--host=${CHOST} \ |
22 |
--host=${CHOST} \ |
20 |
--prefix=/usr \ |
23 |
--prefix=/usr \ |
21 |
--infodir=/usr/share/info \ |
24 |
--infodir=/usr/share/info \ |