From: Florian Fainelli Date: Wed, 25 Mar 2009 11:05:15 +0000 (+0000) Subject: [package] create symlinks for mime and socket lua modules (#4828) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ee4a1c59e1074f9b6cd5082a0e53f8543e18b95;p=openwrt%2Fsvn-archive%2Farchive.git [package] create symlinks for mime and socket lua modules (#4828) SVN-Revision: 15037 --- diff --git a/lang/luasocket/Makefile b/lang/luasocket/Makefile index ce83fb68d6..6fa01a2654 100644 --- a/lang/luasocket/Makefile +++ b/lang/luasocket/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luasocket PKG_VERSION:=2.0.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/2664 @@ -48,6 +48,10 @@ define Package/luasocket/install $(INSTALL_DIR) $(1)/usr/lib/lua $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/mime.{so.1.0.2,lua} $(1)/usr/lib/lua $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/socket.{so.2.0.2,lua} $(1)/usr/lib/lua + $(INSTALL_DIR) $(1)/usr/lib/lua/mime + ln -sf ../mime.so.1.0.2 $(1)/usr/lib/lua/mime/core.so + $(INSTALL_DIR) $(1)/usr/lib/lua/socket + ln -sf ../socket.so.2.0.2 $(1)/usr/lib/lua/socket/core.so endef $(eval $(call BuildPackage,luasocket))