-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcqueues-scm-52.rockspec
51 lines (49 loc) · 1.12 KB
/
cqueues-scm-52.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package = "cqueues"
version = "scm-52"
source = {
url = "git://github.com/wahern/cqueues.git";
}
description = {
summary = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.";
homepage = "http://25thandclement.com/~william/projects/cqueues.html";
license = "MIT/X11";
maintainer = "Daurnimator <quae@daurnimator.com>";
}
supported_platforms = {
"linux";
"bsd";
"solaris";
}
dependencies = {
"lua == 5.2";
}
external_dependencies = {
OPENSSL = {
header = "openssl/ssl.h";
library = "ssl";
};
CRYPTO = {
header = "openssl/crypto.h";
library = "crypto";
};
}
build = {
type = "make";
makefile = "GNUmakefile";
build_target = "all5.2";
build_variables = {
CPPFLAGS= '-I"$(OPENSSL_INCDIR)" -I"$(CRYPTO_INCDIR)"';
CFLAGS = '$(CFLAGS)';
LDFLAGS = '$(LIBFLAG) -L"$(OPENSSL_LIBDIR)" -L"$(CRYPTO_LIBDIR)"';
bindir = "$(LUA_BINDIR)";
includedir = "$(LUA_INCDIR)";
libdir = "$(LUA_LIBDIR)";
};
install_target = "install5.2";
install_variables = {
prefix = "$(PREFIX)";
lua52cpath = "$(LIBDIR)";
lua52path = "$(LUADIR)";
bindir = "$(BINDIR)";
};
}