luacrypto: New package
authorAssaf Inbal <shmuelzon@gmail.com>
Mon, 17 Jun 2013 06:16:25 +0000 (09:16 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 17 Jun 2013 21:15:23 +0000 (23:15 +0200)
LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library.

[Peter: fix file header]
Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/luacrypto/Config.in [new file with mode: 0644]
package/luacrypto/luacrypto.mk [new file with mode: 0644]

index 92927e398cf1fbbbf8694eeefee3cbf72cb75631..bcc3470b75651712da197ae6e885b8a8cf95ec91 100644 (file)
@@ -317,6 +317,7 @@ source "package/coxpcall/Config.in"
 source "package/lbase64/Config.in"
 source "package/luabitop/Config.in"
 source "package/luacjson/Config.in"
+source "package/luacrypto/Config.in"
 source "package/luaexpat/Config.in"
 source "package/luafilesystem/Config.in"
 source "package/luasocket/Config.in"
diff --git a/package/luacrypto/Config.in b/package/luacrypto/Config.in
new file mode 100644 (file)
index 0000000..f4587c3
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LUACRYPTO
+       bool "luacrypto"
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_LUASOCKET
+       help
+         LuaCrypto provides a Lua frontend to the OpenSSL cryptographic
+         library.
+         The OpenSSL features that are currently exposed are digests (MD5,
+         SHA-1, HMAC, and more) and crypto-grade random number generators
+         communication.
+
+         http://luacrypto.luaforge.net
diff --git a/package/luacrypto/luacrypto.mk b/package/luacrypto/luacrypto.mk
new file mode 100644 (file)
index 0000000..ca57c65
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# luacrypto
+#
+################################################################################
+
+LUACRYPTO_VERSION = 0.3.2
+LUACRYPTO_SITE = http://github.com/mkottman/luacrypto/tarball/$(LUACRYPTO_VERSION)
+LUACRYPTO_LICENSE = MIT
+LUACRYPTO_LICENSE_FILES = COPYING
+LUACRYPTO_DEPENDENCIES = lua openssl
+LUACRYPTO_CONF_OPT = "-DLUA_LIBRARIES=\"$(STAGING_DIR)/usr/lib/liblua.so\""
+
+$(eval $(cmake-package))