OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../hostap-utils/install.patch
  5. # Copyright (C) 2010 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN hostap-utils-0.4.7-orig/Makefile hostap-utils-0.4.7/Makefile
  17. --- hostap-utils-0.4.7-orig/Makefile 2005-01-01 07:42:51.000000000 +0100
  18. +++ hostap-utils-0.4.7/Makefile 2010-08-04 18:01:59.824090755 +0200
  19. @@ -1,3 +1,6 @@
  20. +DESTDIR =
  21. +prefix = /usr/local
  22. +
  23. ifndef CFLAGS
  24. CFLAGS = -O2 -Wall
  25. endif
  26. @@ -5,7 +8,9 @@
  27. # Include directory for CVS version
  28. CFLAGS += -I../driver/modules
  29. -all: prism2_srec hostap_crypt_conf hostap_diag hostap_io_debug hostap_rid
  30. +BIN = prism2_srec hostap_crypt_conf hostap_diag hostap_io_debug hostap_rid
  31. +
  32. +all: $(BIN)
  33. prism2_srec: prism2_srec.o util.o
  34. @@ -28,6 +33,9 @@
  35. hostap_rid.o: hostap_rid.c util.h
  36. +install: all
  37. + for x in $(BIN); do install -v $$x $(DESTDIR)$(prefix)/bin/$$x; done
  38. +
  39. clean:
  40. rm -f prism2_srec hostap_crypt_conf hostap_diag hostap_rid \
  41. hostap_io_debug *.o