[package] update mjpg-streamer to r94 (#7491)
[openwrt/svn-archive/archive.git] / multimedia / mjpg-streamer / Makefile
index 38871dd..e9637db 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2010 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mjpg-streamer
-PKG_REV:=84
+PKG_REV:=94
 PKG_VERSION:=r$(PKG_REV)
 PKG_RELEASE:=1
 
@@ -40,7 +40,7 @@ define Package/mjpg-streamer/install
        $(INSTALL_DIR) $(1)/etc/config
        $(CP) ./files/mjpg-streamer.config $(1)/etc/config/mjpg-streamer
        $(INSTALL_DIR) $(1)/etc/init.d
-       $(CP) ./files/mjpg-streamer.init $(1)/etc/init.d/mjpg-streamer
+       $(INSTALL_BIN) ./files/mjpg-streamer.init $(1)/etc/init.d/mjpg-streamer
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(foreach input_plugin,file uvc gspcav1,$(PKG_BUILD_DIR)/input_$(input_plugin).so) $(1)/usr/lib
        $(CP) $(foreach output_plugin,http file autofocus,$(PKG_BUILD_DIR)/output_$(output_plugin).so) $(1)/usr/lib