blob: 3fb8ae8a5a8df54d16176d75c42b6c71c3dc84dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/time/time-1.7-r1.ebuild,v 1.17 2004/07/15 02:41:35 agriffis Exp $
DESCRIPTION="A command that displays info about resources used by a program"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/time/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/directory/time.html"
KEYWORDS="x86 amd64 ppc sparc "
IUSE=""
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/libc"
src_compile() {
./configure --prefix=/usr \
--mandir=/usr/share/man || die
emake || die
}
src_install() {
cd ${S}
echo "START-INFO-DIR-ENTRY
* time: (time). summarize system resources used
END-INFO-DIR-ENTRY" > temp
sed -e '/^trans/r temp' < time.info > time.info.new
mv time.info.new time.info
make prefix=${D}/usr sysconfdir=${D}/etc mandir=${D}/usr/share/man install || die
gzip -9 ${D}/usr/info/time.info
dodoc ChangeLog COPYING README
dodoc AUTHORS NEWS
}
|