lrandom: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d1f33db65b
commit
f21def8f63
@ -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"
|
||||
|
8
package/lrandom/Config.in
Normal file
8
package/lrandom/Config.in
Normal file
@ -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
|
15
package/lrandom/lrandom.mk
Normal file
15
package/lrandom/lrandom.mk
Normal file
@ -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))
|
Loading…
Reference in New Issue
Block a user