File mjpg-streamer.Makefile.patch of Package mjpg-streamer

diff -Naru mjpg-streamer-r160_orig/Makefile mjpg-streamer-r160/Makefile
--- mjpg-streamer-r160_orig/Makefile	2012-03-02 04:01:05.860843000 +0900
+++ mjpg-streamer-r160/Makefile	2015-05-02 18:54:09.548469542 +0900
@@ -15,11 +15,11 @@
 # set the compiler to use
 CC = gcc
 
-SVNDEV := -D'SVN_REV="$(shell svnversion -c .)"'
-CFLAGS += $(SVNDEV)
+# SVNDEV := -D'SVN_REV="$(shell svnversion -c .)"'
+# CFLAGS += $(SVNDEV)
 
 # general compile flags, enable all warnings to make compile more verbose
-CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall 
+CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -D'SVN_REV="160"'
 # CFLAGS += -g 
 #CFLAGS +=  -DDEBUG
 
@@ -154,10 +154,12 @@
 
 # install MJPG-streamer and example webpages
 install: all
-	install --mode=755 $(APP_BINARY) $(DESTDIR)/bin
-	install --mode=644 $(PLUGINS) $(DESTDIR)/lib/
-	install --mode=755 -d $(DESTDIR)/www
-	install --mode=644 -D www/* $(DESTDIR)/www
+	install --mode=755 -d $(DESTDIR)/usr/bin/
+	install --mode=755 $(APP_BINARY) $(DESTDIR)/usr/bin/
+	install --mode=755 -d $(DESTDIR)/usr/lib/
+	install --mode=644 $(PLUGINS) $(DESTDIR)/usr/lib/
+	install --mode=755 -d $(DESTDIR)/srv/www/htdocs/mjpg-streamer/
+	install --mode=644 -D www/* $(DESTDIR)/srv/www/htdocs/mjpg-streamer/
 
 # remove the files installed above
 uninstall: