summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-04-16 04:22:44 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-04-16 04:22:44 +0000
commit40123ceb4370407034b248f9e3e10076aca05540 (patch)
treeb5884c8dc7a412500a16c56df4966d6104819ac9 /sys-apps/time/time-1.7-r1.ebuild
parentcleaned up ebuild (diff)
downloadhistorical-40123ceb4370407034b248f9e3e10076aca05540.tar.gz
historical-40123ceb4370407034b248f9e3e10076aca05540.tar.bz2
historical-40123ceb4370407034b248f9e3e10076aca05540.zip
Resolves bug #1784
Diffstat (limited to 'sys-apps/time/time-1.7-r1.ebuild')
-rw-r--r--sys-apps/time/time-1.7-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/time/time-1.7-r1.ebuild b/sys-apps/time/time-1.7-r1.ebuild
new file mode 100644
index 000000000000..199131b76df3
--- /dev/null
+++ b/sys-apps/time/time-1.7-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# /space/gentoo/cvsroot/gentoo-x86/sys-apps/time/time-1.7.ebuild,v 1.1 2002/02/28 00:22:58 blocke Exp
+
+S=${WORKDIR}/${P}
+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"
+
+DEPEND="virtual/glibc"
+
+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
+}
+