|
@ -8,9 +8,9 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=mjpg-streamer |
|
|
PKG_NAME:=mjpg-streamer |
|
|
PKG_REV:=182 |
|
|
|
|
|
|
|
|
PKG_REV:=181 |
|
|
PKG_VERSION:=r$(PKG_REV) |
|
|
PKG_VERSION:=r$(PKG_REV) |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com> |
|
|
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com> |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
@ -18,6 +18,7 @@ PKG_SOURCE_URL:=https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer |
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_SOURCE_VERSION:=$(PKG_REV) |
|
|
PKG_SOURCE_VERSION:=$(PKG_REV) |
|
|
PKG_SOURCE_PROTO:=svn |
|
|
PKG_SOURCE_PROTO:=svn |
|
|
|
|
|
PKG_MD5SUM:=b2bc22665733319e647ace236e283684 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=GPL-2.0 |
|
|
PKG_LICENSE:=GPL-2.0 |
|
|
PKG_LICENSE_FILE:=LICENSE |
|
|
PKG_LICENSE_FILE:=LICENSE |
|
@ -95,10 +96,12 @@ ifeq ($(CONFIG_MJPG_STREAMER_OUTPUT_FILE),y) |
|
|
endif |
|
|
endif |
|
|
ifeq ($(CONFIG_MJPG_STREAMER_OUTPUT_HTTP),y) |
|
|
ifeq ($(CONFIG_MJPG_STREAMER_OUTPUT_HTTP),y) |
|
|
$(CP) $(PKG_BUILD_DIR)/output_http.so $(1)/usr/lib |
|
|
$(CP) $(PKG_BUILD_DIR)/output_http.so $(1)/usr/lib |
|
|
endif |
|
|
|
|
|
ifeq ($(CONFIG_MJPG_STREAMER_WWW),y) |
|
|
|
|
|
$(INSTALL_DIR) $(1)/www/webcam |
|
|
$(INSTALL_DIR) $(1)/www/webcam |
|
|
|
|
|
ifeq ($(CONFIG_MJPG_STREAMER_WWW),y) |
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/www/* $(1)/www/webcam |
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/www/* $(1)/www/webcam |
|
|
|
|
|
else |
|
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/www/stream_simple.html $(1)/www/webcam/index.html |
|
|
|
|
|
endif |
|
|
endif |
|
|
endif |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|