From 2f8668d0efc97badae53394e8102120c90ba2d76 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 21 Jul 2014 14:37:53 +0000 Subject: [PATCH] luasec: moved to github SVN-Revision: 41783 --- lang/luasec/Makefile | 57 -------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 lang/luasec/Makefile diff --git a/lang/luasec/Makefile b/lang/luasec/Makefile deleted file mode 100644 index 50d7741734..0000000000 --- a/lang/luasec/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# -# Copyright (C) 2009-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=luasec -PKG_VERSION:=0.4 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/4255 -PKG_MD5SUM:=712158d60207bdbb6215fc7e07d8db24 - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/luasec - SUBMENU:=Lua - SECTION:=lang - CATEGORY:=Languages - TITLE:=LuaSec - URL:=http://luasec.luaforge.net/ - DEPENDS:=+lua +libopenssl +luasocket -endef - -define Package/luasec/description - LuaSec is a binding for OpenSSL library to provide TLS/SSL communication. -endef - -define Build/Configure -endef - -MAKE_PATH = ./src - -MAKE_FLAGS += \ - INCDIR="$(TARGET_CPPFLAGS)" \ - LIBDIR="$(TARGET_LDFLAGS)" \ - CC="$(TARGET_CC) $(TARGET_CFLAGS) -std=gnu99" \ - LD="$(TARGET_CROSS)ld -shared" \ - LUACPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" \ - LUAPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" \ - linux \ - -define Package/luasec/install - $(INSTALL_DIR) $(1)/usr/lib/lua - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/lua/ssl.so $(1)/usr/lib/lua/ - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/ssl.lua $(1)/usr/lib/lua/ - $(INSTALL_DIR) $(1)/usr/lib/lua/ssl - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/ssl/https.lua $(1)/usr/lib/lua/ssl/ -endef - -$(eval $(call BuildPackage,luasec)) -- 2.30.2