From: Francois Perrad Date: Mon, 24 Feb 2014 07:34:51 +0000 (+0100) Subject: lrandom: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f21def8f635980d588271f180d120d26b9918785;p=buildroot.git lrandom: new package Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 932015b07c..684d75662f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -376,6 +376,7 @@ source "package/dado/Config.in" 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" diff --git a/package/lrandom/Config.in b/package/lrandom/Config.in new file mode 100644 index 0000000000..661707d7fb --- /dev/null +++ b/package/lrandom/Config.in @@ -0,0 +1,8 @@ +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 diff --git a/package/lrandom/lrandom.mk b/package/lrandom/lrandom.mk new file mode 100644 index 0000000000..003579180a --- /dev/null +++ b/package/lrandom/lrandom.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# 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))