summaryrefslogtreecommitdiffstats
path: root/package/luacrypto
diff options
context:
space:
mode:
authorAssaf Inbal <shmuelzon@gmail.com>2013-06-17 09:16:25 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-17 23:15:23 +0200
commit4630a6a8472a0f9f30fbacbefde7c45d6507156a (patch)
treef9c401376bfd36944c0e185b4f064371f04847d1 /package/luacrypto
parent1286135afce5aa02e5794d7f036462d8396a8e42 (diff)
downloadbuildroot-novena-4630a6a8472a0f9f30fbacbefde7c45d6507156a.tar.gz
buildroot-novena-4630a6a8472a0f9f30fbacbefde7c45d6507156a.zip
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>
Diffstat (limited to 'package/luacrypto')
-rw-r--r--package/luacrypto/Config.in12
-rw-r--r--package/luacrypto/luacrypto.mk14
2 files changed, 26 insertions, 0 deletions
diff --git a/package/luacrypto/Config.in b/package/luacrypto/Config.in
new file mode 100644
index 000000000..f4587c30f
--- /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 000000000..ca57c6585
--- /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))