summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Inbal <shmuelzon@gmail.com>2013-06-17 06:16:25 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-06-17 21:15:23 (GMT)
commit4630a6a8472a0f9f30fbacbefde7c45d6507156a (patch)
treef9c401376bfd36944c0e185b4f064371f04847d1
parent1286135afce5aa02e5794d7f036462d8396a8e42 (diff)
downloadbuildroot-4630a6a8472a0f9f30fbacbefde7c45d6507156a.tar.gz
buildroot-4630a6a8472a0f9f30fbacbefde7c45d6507156a.tar.bz2
luacrypto: New package
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/luacrypto/Config.in12
-rw-r--r--package/luacrypto/luacrypto.mk14
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 92927e3..bcc3470 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000..f4587c3
--- /dev/null
+++ b/package/luacrypto/Config.in
@@ -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
index 0000000..ca57c65
--- /dev/null
+++ b/package/luacrypto/luacrypto.mk
@@ -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))