From 846d71d1e43d6c29d25bd325b396b11838075d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Guisasola?= Date: Tue, 16 Apr 2019 15:53:10 -0300 Subject: [PATCH] Rockspec for version 1.3. --- rockspec/md5-1.3-1.rockspec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rockspec/md5-1.3-1.rockspec diff --git a/rockspec/md5-1.3-1.rockspec b/rockspec/md5-1.3-1.rockspec new file mode 100644 index 0000000..30b5c5f --- /dev/null +++ b/rockspec/md5-1.3-1.rockspec @@ -0,0 +1,31 @@ +package = "MD5" +version = "1.3-1" +source = { + url = "https://github.com/keplerproject/md5/archive/1.3.tar.gz", + md5 = "17b773591141091a4104d5183aad134b", + dir = "md5-1.3", +} +description = { + summary = "Checksum library", + detailed = [[MD5 offers checksum facilities for Lua 5.X: a hash (digest) function, a pair crypt/decrypt based on MD5 and CFB, and a pair crypt/decrypt based on DES with 56-bit keys.]], + license = "MIT/X11", + homepage = "http://keplerproject.github.io/md5/", +} +dependencies = { + "lua >= 5.0" +} +build = { + type = "builtin", + modules = { + md5 = "src/md5.lua", + ["md5.core"] = { + sources = { "src/compat-5.2.c", "src/md5.c", "src/md5lib.c", }, + incdirs = { "src/", }, + }, + des56 = { + sources = { "src/compat-5.2.c", "src/des56.c", "src/ldes56.c", }, + incdirs = { "src/", }, + }, + }, + copy_directories = { "doc", "tests", }, +}