%n wdsetup
%v 0.6a
%c *
%l *
%b *
%d *
%f *
%t wdsetup-0.6a.tgz
%w Misc
%%
%setup
patch -u -p1 <<'ENDPATCH'
diff -ru2N wdsetup-0.6a/Makefile wdsetup-MCC/Makefile
--- wdsetup-0.6a/Makefile	Thu Dec 14 15:53:08 1995
+++ wdsetup-MCC/Makefile	Fri Aug 30 23:47:16 1996
@@ -1,4 +1,4 @@
-CFLAGS	= -Wall -O2 -fomit-frame-pointer
-LDFLAGS	= -s -v
+CFLAGS	= -Wall -O6 -m386 -fomit-frame-pointer
+LDFLAGS	=
 
 PROGS =		wdsetup
@@ -11,6 +11,7 @@
 
 install:	all
-		install -o root -g root -m 0755 wdsetup ${DEBDIR}/usr/sbin
-		install -o root -g root -m 0644 $(MAN1) ${DEBDIR}/usr/man/man1
+		install -s -m 0555 wdsetup /sbin
+		install -m 444 $(MAN1) /usr/man/man8/wdsetup.8
+		gzip -9f /usr/man/man8/wdsetup.8
 
 clean:
diff -ru2N wdsetup-0.6a/wdsetup.1 wdsetup-MCC/wdsetup.1
--- wdsetup-0.6a/wdsetup.1	Sun Jul  3 19:00:18 1994
+++ wdsetup-MCC/wdsetup.1	Fri Aug 30 23:49:50 1996
@@ -1,5 +1,5 @@
 .\" -*- nroff text -*-
 .\"
-.TH WDSETUP 1L
+.TH WDSETUP 8
 .SH NAME
 wdsetup \- configure Western Digital and SMC ethernet cards.
ENDPATCH
make

* make install
%%