packages/net/reaim/patches/501-cross_compile-install.patch
florian 8ee1d1f0cf Port reaim to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-07 12:39:12 +00:00

17 lines
427 B
Diff

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/