summaryrefslogtreecommitdiffstats
path: root/openwrt/package/reaim/patches/501-cross_compile-install.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-07 22:44:29 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-07 22:44:29 +0000
commit0c6666fe2aa82e92afbdec7ec80edd95e2b8a813 (patch)
tree666156c4db4aedad4fb084383ab59ba96752a4b9 /openwrt/package/reaim/patches/501-cross_compile-install.patch
parent41811345b79f7f918a569ab57434de85ba478cb3 (diff)
add reaim (thanks to Florian Fainelli)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2072 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/reaim/patches/501-cross_compile-install.patch')
-rw-r--r--openwrt/package/reaim/patches/501-cross_compile-install.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/reaim/patches/501-cross_compile-install.patch b/openwrt/package/reaim/patches/501-cross_compile-install.patch
new file mode 100644
index 000000000..9e88f617e
--- /dev/null
+++ b/openwrt/package/reaim/patches/501-cross_compile-install.patch
@@ -0,0 +1,16 @@
+diff -urN reaim-0.8/Makefile reaim-0.8/Makefile
+--- reaim-0.8/Makefile 2002-11-28 06:10:38.000000000 +0100
++++ reaim-0.8/Makefile 2005-10-07 12:07:43.000000000 +0200
+@@ -11,7 +11,10 @@
+ endif
+
+ reaim: reaim.c
+- gcc -o reaim reaim.c -g -Wall $(FW_FLAGS)
+-
++ $(CC) $(CFLAGS) -o reaim reaim.c -Wall $(FW_FLAGS)
+ clean:
+ -rm reaim
++
++install:
++ install -d -m 0755 $(DESTDIR)/usr/sbin
++ install -m 0755 reaim $(DESTDIR)/usr/sbin/