Dash:
[t2-trunk.git] / package / network / hostap-utils / install.patch
blobc435b46936684415060a8daa60c3549ff9d9f142
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../hostap-utils/install.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- hostap-utils-0.4.7/Makefile.vanilla 2007-03-23 15:07:24.000000000 +0100
18 +++ hostap-utils-0.4.7/Makefile 2007-03-23 15:08:54.000000000 +0100
19 @@ -2,6 +2,8 @@
20 CFLAGS = -O2 -Wall
21 endif
23 +prefix=/usr/local
25 # Include directory for CVS version
26 CFLAGS += -I../driver/modules
28 @@ -28,6 +30,9 @@
30 hostap_rid.o: hostap_rid.c util.h
32 +install:
33 + for i in $(all); do cp $$i $(DESTDIR)$(prefix)/bin/$$i; done
35 clean:
36 rm -f prism2_srec hostap_crypt_conf hostap_diag hostap_rid \
37 hostap_io_debug *.o