aboutsummaryrefslogtreecommitdiff
path: root/lua-nng-dev-1.rockspec
blob: 5cf013f0c978b1552af7432f175b6773b39802ef (plain)
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
package = "lua-nng"
rockspec_format="3.0"
version = "dev-1"
source = {
	url = "*** please add URL for source tarball, zip or repository here ***"
}
description = {
	summary = "A simple binding for Nanomessage Next Generation",
	homepage = "https://cogarr.net/source/cgit.cgi/lua-nng/about",
	license = "BSD/2 Clause",
	maintainer = "Alexander Pickering <alex@cogarr.net>",
	labels = {"network","nanomessage","nng"}
}
external_dependencies = {
	NNG = {
		library = "nng",
		header = "nng/nng.h"
	}
}
build = {
	type = "make",
	build_variables = {
		CFLAGS="$(CFLAGS)",
		LUA_INCDIR="$(LUA_INCDIR)",
		NNG_INCDIR="$(NNG_INCDIR)",
		NNG_LIBDIR="$(NNG_LIBDIR)",
		LUA_LIBDIR="$(LUA_LIBDIR)",
		FIND="$(FIND)",
		LIB_EXTENSION="$(LIB_EXTENSION)",
		LIBFLAG="$(LIBFLAG)",
	},
	install_variables = {
		INST_PREFIX="$(PREFIX)",
		INST_LIBDIR="$(LIBDIR)",
		NNG_LIBDIR="$(NNG_LIBDIR)",
		LUA_LIBDIR="$(LUA_LIBDIR)",
		LIB_EXTENSION="$(LIB_EXTENSION)",
		CP="$(CP)",
	},
	install = {
		bin = {
			"bin/nng.dll"
		}
	}
}