Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
source "package/lbase64/Config.in"
source "package/ljsyscall/Config.in"
source "package/lpeg/Config.in"
+source "package/lrandom/Config.in"
source "package/lua-cjson/Config.in"
source "package/lua-ev/Config.in"
source "package/lua-msgpack-native/Config.in"
--- /dev/null
+config BR2_PACKAGE_LRANDOM
+ bool "lrandom"
+ depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
+ help
+ A library for generating random numbers
+ based on the Mersenne Twister
+
+ http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lrandom
--- /dev/null
+################################################################################
+#
+# lrandom
+#
+################################################################################
+
+ifeq ($(BR2_PACKAGE_LUA_5_2),y)
+LRANDOM_VERSION = 20120430.52-1
+else
+LRANDOM_VERSION = 20120430.51-1
+endif
+LRANDOM_SUBDIR = random
+LRANDOM_LICENSE = Public domain
+
+$(eval $(luarocks-package))