Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
1736cd4f32
3 changed files with 69 additions and 0 deletions
  1. +2
    -0
      package/fake/iostat/iostat.conf
  2. +43
    -0
      package/fake/iostat/iostat.desc
  3. +24
    -0
      package/fake/iostat/makefile-prefix.patch

+ 2
- 0
package/fake/iostat/iostat.conf

@ -0,0 +1,2 @@
var_append makeinstopt ' ' "PREFIX=$root/usr"

+ 43
- 0
package/fake/iostat/iostat.desc

@ -0,0 +1,43 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/iostat/iostat.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] a command line I/O performance monitoring utility
[T] It is present in almost every major Unix flavor in use today, and here
[T] you can get your version for Linux. It works on both 2.4 & 2.6. What
[T] makes it different from other Linux utilities, which mostly show only
[T] I/O transfer rates, is that you finally can get important information
[T] about disk utilization, number of requests, average queue size and
[T] disk & queue wait times. No serious sysadmin should be without it.
[A] Zlatko Calusic <zlatko@iskon.hr>
[M] fake <fake@rapidnetworks.de>
[C] extra/tool
[L] GPL
[S] Stable
[V] 2.0
[P] X -----5---9 164.600
[D] 482294953 iostat-2.0.tar.gz http://linux.inet.hr/

+ 24
- 0
package/fake/iostat/makefile-prefix.patch

@ -0,0 +1,24 @@
--- ./Makefile.orig 2004-08-06 22:29:09.403635888 +0200
+++ ./Makefile 2004-08-06 22:29:58.195218440 +0200
@@ -5,6 +5,8 @@
CFLAGS = -g -O2 -Wall -fomit-frame-pointer
LDFLAGS =
+PREFIX = /usr/local
+
SRC = iostat.c
BIN = iostat
@@ -14,9 +16,9 @@
$(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS)
install: $(BIN)
- install -d /usr/local/bin /usr/local/man/man8
- install -o root -g root -m 755 -s iostat /usr/local/bin
- install -o root -g root -m 644 iostat.8 /usr/local/man/man8
+ install -d $(PREFIX)/bin $(PREFIX)/man/man8
+ install -o root -g root -m 755 -s iostat $(PREFIX)/bin
+ install -o root -g root -m 644 iostat.8 $(PREFIX)/man/man8
clean:
rm -f $(BIN) core

Loading…
Cancel
Save