2016-10-06 10:47:50 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 Amnon Paz <pazamnon@gmail.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=lua-openssl
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2016-10-06 10:47:50 +02:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2021-03-26 04:37:37 +01:00
|
|
|
PKG_SOURCE_URL:=https://github.com/zhaozg/lua-openssl.git
|
2023-09-26 22:01:39 +02:00
|
|
|
PKG_SOURCE_VERSION:=0.8.5-1
|
2024-04-06 12:47:54 +02:00
|
|
|
PKG_MIRROR_HASH:=3187a2342b01b88dfac5502a66902f4ef74695bcb512cc86cc5105e608202dfe
|
2021-03-26 04:37:37 +01:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Amnon Paz <pazamnon@gmail.com>
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2016-10-06 10:47:50 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-06-11 01:27:06 +02:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2016-10-06 10:47:50 +02:00
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/lua-openssl
|
2016-10-06 10:47:50 +02:00
|
|
|
SUBMENU:=Lua
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Lua openSSL binding
|
|
|
|
URL:=http://github.com/zhaozg/lua-openssl
|
|
|
|
DEPENDS:=+lua +libopenssl +librt
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lua-openssl/description
|
|
|
|
A free, MIT-licensed OpenSSL binding for Lua.
|
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
define Package/lua-openssl/install
|
2016-10-06 10:47:50 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua
|
2021-03-26 04:37:37 +01:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/openssl.so $(1)/usr/lib/lua/
|
2016-10-06 10:47:50 +02:00
|
|
|
endef
|
|
|
|
|
2017-03-07 13:41:01 +01:00
|
|
|
$(eval $(call BuildPackage,lua-openssl))
|