1 diff -uNr eagle-1.0.4.orig/driver/Makefile eagle-1.0.4/driver/Makefile
2 --- eagle-1.0.4.orig/driver/Makefile Wed Jun 18 23:58:41 2003
3 +++ eagle-1.0.4/driver/Makefile Wed Jul 9 19:41:39 2003
5 install: driver installfirmware installuser
6 mkdir -p $(INSTALLDIR) && \
7 mkdir -p $(CONFDIR) && \
8 - $(INSTALLER) -m 0664 -o root -g root $(MODULE).o $(INSTALLDIR)/$(MODULE).o && \
9 + $(INSTALLER) $(MODULE).o $(DESTDIR)/$(INSTALLDIR)/$(MODULE).o && \
13 diff -uNr eagle-1.0.4.orig/driver/firmware/Makefile eagle-1.0.4/driver/firmware/Makefile
14 --- eagle-1.0.4.orig/driver/firmware/Makefile Wed Jun 4 01:09:37 2003
15 +++ eagle-1.0.4/driver/firmware/Makefile Wed Jul 9 19:42:20 2003
17 gcc $(CFLAGS) builddsp.c -o buildDSP
19 install : firmware.bin DSPcode.bin
20 - mkdir -p $(CONFIGDIR)
21 - $(INSTALLER) -c -m 0664 -o root -g root *.bin $(CONFIGDIR)
22 + mkdir -p $(DESTDIR)/$(CONFIGDIR)
23 + $(INSTALLER) *.bin $(DESTDIR)/$(CONFIGDIR)
26 - rm -f $(CONFIGDIR)/DSPcode.bin
27 - rm -f $(CONFIGDIR)/firmware.bin
28 + rm -f $(DESTDIR)/$(CONFIGDIR)/DSPcode.bin
29 + rm -f $(DESTDIR)/$(CONFIGDIR)/firmware.bin
32 rm -f firmware.bin buildFirmware buildDSP DSPcode.bin
33 diff -uNr eagle-1.0.4.orig/driver/user/Makefile eagle-1.0.4/driver/user/Makefile
34 --- eagle-1.0.4.orig/driver/user/Makefile Wed Jun 4 00:40:37 2003
35 +++ eagle-1.0.4/driver/user/Makefile Wed Jul 9 19:40:18 2003
37 gcc $(CFLAGS) adictrl.c -o adictrl
39 install : adictrl sagemf800.conf
40 - mkdir -p $(CONFIGDIR)
41 - $(INSTALLER) -c -m 0755 -o root -g root adictrl $(INSTALLDIR)
42 - $(INSTALLER) -c -m 0755 -o root -g root showstat $(INSTALLDIR)
43 - $(INSTALLER) -c -m 0755 -o root -g root sagemf800.conf $(CONFIGDIR)/adiusbadsl.conf
44 -# $(INSTALLER) -c -m 0755 -o root -g root CMVep.txt $(CONFIGDIR)/
45 -# $(INSTALLER) -c -m 0755 -o root -g root CMVei.txt $(CONFIGDIR)/
46 + $(INSTALLER) -d $(DESTDIR)/$(CONFIGDIR)
47 + $(INSTALLER) adictrl $(DESTDIR)/$(INSTALLDIR)
48 + $(INSTALLER) showstat $(DESTDIR)/$(INSTALLDIR)
49 + $(INSTALLER) sagemf800.conf $(DESTDIR)/$(CONFIGDIR)/adiusbadsl.conf
50 + $(INSTALLER) CMVep.txt $(DESTDIR)/$(CONFIGDIR)
51 + $(INSTALLER) CMVei.txt $(DESTDIR)/$(CONFIGDIR)
54 - rm -f $(INSTALLDIR)/adictrl
55 - rm -f $(INSTALLDIR)/showstat
56 - rm -f $(CONFIGDIR)/adiusbadsl.conf
57 -# rm -f $(CONFIGDIR)/CMVep.txt
58 -# rm -f $(CONFIGDIR)/CMVei.txt
59 + rm -f $(DESTDIR)/$(INSTALLDIR)/adictrl
60 + rm -f $(DESTDIR)/$(INSTALLDIR)/showstat
61 + rm -f $(DESTDIR)/$(CONFIGDIR)/adiusbadsl.conf
62 + rm -f $(DESTDIR)/$(CONFIGDIR)/CMVep.txt
63 + rm -f $(DESTDIR)/$(CONFIGDIR)/CMVei.txt
67 diff -uNr eagle-1.0.4.orig/pppoa/Makefile eagle-1.0.4/pppoa/Makefile
68 --- eagle-1.0.4.orig/pppoa/Makefile Thu Apr 24 20:42:06 2003
69 +++ eagle-1.0.4/pppoa/Makefile Wed Jul 9 19:35:04 2003
71 gcc $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o debug.o debug.c
74 - $(INSTALLER) -m 775 -o root -g root pppoa /usr/sbin
75 + $(INSTALLER) pppoa $(DESTDIR)/usr/sbin
78 - rm -f /usr/sbin/pppoa
79 + rm -f $(DESTDIR)/usr/sbin/pppoa
83 diff -uNr eagle-1.0.4.orig/scripts/Makefile eagle-1.0.4/scripts/Makefile
84 --- eagle-1.0.4.orig/scripts/Makefile Wed Jun 18 23:58:02 2003
85 +++ eagle-1.0.4/scripts/Makefile Wed Jul 9 19:44:40 2003
90 - mkdir -p $(HOTPLUGDIR)/usb
91 + mkdir -p $(DESTDIR)/$(HOTPLUGDIR)/usb
92 @if [ -f pap-secrets ]; then \
93 - $(INSTALLER) -c -m 0600 -o root -g root pap-secrets $(PPPDIR) ; \
94 + $(INSTALLER) -c pap-secrets $(DESTDIR)/$(PPPDIR) ; \
96 @if [ -f chap-secrets ]; then \
97 - $(INSTALLER) -c -m 0600 -o root -g root chap-secrets $(PPPDIR) ; \
98 + $(INSTALLER) -c chap-secrets $(DESTDIR)/$(PPPDIR) ; \
100 @if [ -f options.adsl ]; then \
101 - $(INSTALLER) -c -m 0644 -o root -g root options.adsl $(PPPDIR) ; \
102 + $(INSTALLER) -c options.adsl $(DESTDIR)/$(PPPDIR) ; \
104 - $(INSTALLER) -c -m 0554 -o root -g root hotplug/adiusb* $(HOTPLUGDIR)/usb
105 + $(INSTALLER) -c hotplug/adiusb* $(DESTDIR)/$(HOTPLUGDIR)/usb
106 @if [ -f usb.usermap ]; then \
107 - $(INSTALLER) -c -m 0644 -o root -g root usb.usermap $(HOTPLUGDIR) ; \
108 + $(INSTALLER) -c usb.usermap $(DESTDIR)/$(HOTPLUGDIR) ; \
110 - $(INSTALLER) -c -m 0644 -o root -g root usb.usermap.local $(HOTPLUGDIR) && \
111 + $(INSTALLER) -c usb.usermap.local $(DESTDIR)/$(HOTPLUGDIR) && \
112 /usr/sbin/update-usb.usermap ; \
114 - $(INSTALLER) -c -m 0554 -o root -g root adsl/* $(INSTALLDIR)
115 + $(INSTALLER) -c adsl/* $(DESTDIR)/$(INSTALLDIR)
116 rm -f options.adsl options.mire pap-secrets chap-secrets usb.usermap usb.usermap.local
119 - rm -f $(PPPDIR)/options.mire
120 - rm -f $(HOTPLUGDIR)/usb/adiusb*
121 + rm -f $(DESTDIR)/$(PPPDIR)/options.mire
122 + rm -f $(DESTDIR)/$(HOTPLUGDIR)/usb/adiusb*