Changeset 10233


Ignore:
Timestamp:
2008-01-23T11:09:46+01:00 (10 years ago)
Author:
olli
Message:

[Packages] multimedia/mjpg-streamer:

  • Update r31 to r51
  • Cleanup Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/multimedia/mjpg-streamer/Makefile

    • Property copyright set to Copyright (C) 2008 OpenWrt.org
    • Property licence set to GPLv2
    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r10043 r10233  
    1 #  
    2 # Copyright (C) 2007 OpenWrt.org 
     1# 
     2# Copyright (C) 2007,2008 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=mjpg-streamer 
    12 PKG_VERSION:=rev35 
     12PKG_VERSION:=rev51 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=mjpg_streamer_$(PKG_VERSION).tgz 
    1616PKG_SOURCE_URL:=@SF/$(PKG_NAME) 
    17 PKG_MD5SUM:=2a41d65eff5977e0d7823d2d12f385c9 
     17PKG_MD5SUM:=a9f26a96fdebdf3046ce920d2bcfb4ef 
    1818 
    1919PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 
     
    3434 
    3535EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib 
    36 define Build/Compile 
    37         $(call Build/Compile/Default) 
    38 endef 
    3936 
    4037define Package/mjpg-streamer/install 
     
    4340        $(INSTALL_DIR) $(1)/usr/lib 
    4441        $(INSTALL_BIN) $(PKG_BUILD_DIR)/input_uvc.so $(1)/usr/lib 
    45         $(INSTALL_BIN) $(PKG_BUILD_DIR)/output_http.so $(1)/usr/lib 
    46         $(INSTALL_BIN) $(PKG_BUILD_DIR)/output_file.so $(1)/usr/lib 
     42        $(CP) $(foreach plugin,http file autofocus,$(PKG_BUILD_DIR)/output_$(plugin).so) $(1)/usr/lib/ 
    4743        $(INSTALL_DIR) $(1)/webcam_www 
    48         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/bodybg.gif $(1)/webcam_www 
    49         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/cambozola.jar $(1)/webcam_www 
    50         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/control.htm $(1)/webcam_www 
    51         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/example.jpg $(1)/webcam_www 
    52         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/favicon.ico $(1)/webcam_www 
    53         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/fix.css $(1)/webcam_www 
    54         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/functions.js $(1)/webcam_www 
    55         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/index.html $(1)/webcam_www 
    56         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/java.html $(1)/webcam_www 
    57         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/javascript.html $(1)/webcam_www 
    58         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/javascript_simple.html $(1)/webcam_www 
    59         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/java_simple.html $(1)/webcam_www 
    60         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/LICENSE.txt $(1)/webcam_www 
    61         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/sidebarbg.gif $(1)/webcam_www 
    62         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/static.html $(1)/webcam_www 
    63         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/static_simple.html $(1)/webcam_www 
    64         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/stream.html $(1)/webcam_www 
    65         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/stream_simple.html $(1)/webcam_www 
    66         $(INSTALL_DATA) $(PKG_BUILD_DIR)/www/style.css $(1)/webcam_www 
     44        $(CP) $(PKG_BUILD_DIR)/www/* $(1)/webcam_www 
    6745endef 
    6846 
Note: See TracChangeset for help on using the changeset viewer.