Changeset 19165


Ignore:
Timestamp:
2010-01-16T08:31:48+01:00 (8 years ago)
Author:
cshore
Message:

packages/luasocket: Added missing .lua files for socket functionality used by Prosody IM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/luasocket/Makefile

    r18200 r19165  
    1 #  
     1# 
    22# Copyright (C) 2009 OpenWrt.org 
    33# 
     
    1010PKG_NAME:=luasocket 
    1111PKG_VERSION:=2.0.2 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    3737 
    3838define Build/Compile 
    39         $(MAKE) -C $(PKG_BUILD_DIR)/ all \ 
    40         LIBDIR="$(TARGET_LDFLAGS)" \ 
    41         CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -std=gnu99" \ 
    42         LD="$(TARGET_CROSS)ld -shared"  
     39        $(MAKE) -C $(PKG_BUILD_DIR)/ \ 
     40                LIBDIR="$(TARGET_LDFLAGS)" \ 
     41                CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -std=gnu99" \ 
     42                LD="$(TARGET_CROSS)ld -shared" \ 
     43                all 
    4344endef 
    4445 
     
    4647define Package/luasocket/install 
    4748        $(INSTALL_DIR) $(1)/usr/lib/lua 
    48         $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/mime.{so.1.0.2,lua} $(1)/usr/lib/lua 
    49         $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/socket.{so.2.0.2,lua} $(1)/usr/lib/lua 
     49        $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{ltn12,mime,socket}.lua $(1)/usr/lib/lua 
     50        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mime.so.1.0.2 $(1)/usr/lib/lua 
     51        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/socket.so.2.0.2 $(1)/usr/lib/lua 
    5052        $(INSTALL_DIR) $(1)/usr/lib/lua/mime 
    5153        ln -sf ../mime.so.1.0.2 $(1)/usr/lib/lua/mime/core.so 
    5254        $(INSTALL_DIR) $(1)/usr/lib/lua/socket 
     55        $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{ftp,http,smtp,tp,url}.lua $(1)/usr/lib/lua/socket 
    5356        ln -sf ../socket.so.2.0.2 $(1)/usr/lib/lua/socket/core.so 
    5457endef 
Note: See TracChangeset for help on using the changeset viewer.