Created
May 13, 2015 14:17
-
-
Save starius/b20d3e63929ae678c857 to your computer and use it in GitHub Desktop.
luacrypto rockspec pointing to my fork (Lua 5.3 compatible)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package = "LuaCrypto" | |
version = "0.3.2-2" | |
description = { | |
summary = "A Lua frontend to OpenSSL", | |
detailed = [[LuaCrypto is a Lua frontend to the OpenSSL cryptographic library. The OpenSSL features that are currently exposed are: | |
digests (MD5, SHA-1, HMAC, and more), encryption, decryption and crypto-grade random number generators.]], | |
homepage = "http://mkottman.github.com/luacrypto/", | |
license = "MIT", | |
} | |
dependencies = { | |
"lua >= 5.1", | |
} | |
external_dependencies = { | |
OPENSSL = { | |
header = "openssl/evp.h" | |
} | |
} | |
source = { | |
url = "git://github.com/starius/luacrypto.git", | |
} | |
build = { | |
type = "builtin", | |
modules = { | |
crypto = { | |
sources = "src/lcrypto.c", | |
incdirs = "$(OPENSSL_INCDIR)", | |
libdirs = "$(OPENSSL_LIBDIR)", | |
libraries = "crypto", | |
} | |
}, | |
platforms = { | |
windows = { | |
modules = { crypto = { libraries = {'libeay32', 'ssleay32', 'kernel32', 'user32', 'gdi32', 'advapi32'} } } | |
} | |
}, | |
copy_directories = { "doc" } | |
} | |
build.platforms.mingw32 = build.platforms.windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment