fix package version and ack source name change,
[openwrt.git] / openwrt / package / elhttp / patches / 01-cross-compile.patch
1 --- orig/elhttp-0.22/Makefile 2004-06-18 15:32:17.000000000 +0200
2 +++ elhttp-0.22/Makefile 2005-11-21 18:04:23.000000000 +0100
3 @@ -1,13 +1,7 @@
4 -
5 +all: linux
6 linux:
7 - gcc -O -W -Wall -o elhttp elhttp.c
8 - strip elhttp
9 -
10 -sunos:
11 - gcc -O -W -Wall -o elhttp elhttp.c -lsocket -lnsl
12 - strip elhttp
13 -
14 -unix:
15 - cc -O -o elhttp elhttp.c
16 - strip elhttp
17 + $(CC) -O -W -Wall -o elhttp elhttp.c
18
19 +install:
20 + install -d -m0755 $(DESTDIR)/usr/sbin
21 + install -m0755 elhttp $(DESTDIR)/usr/sbin/
This page took 0.042467 seconds and 5 git commands to generate.