forked from tarantool/rocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmtp-scm-1.rockspec
56 lines (50 loc) · 1.83 KB
/
smtp-scm-1.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
52
53
54
55
56
-- name of the package to be published
package = 'smtp'
-- version of the package; it's mandatory, but we don't use it in Tarantool;
-- instead, provide below a specific branch in the package's repository at
-- GitHub and set version to some stub value, e.g. 'scm-1'
version = 'scm-1'
-- url and branch of the package's repository at GitHub
source = {
url = 'git://github.com/tarantool/smtp.git';
branch = 'master';
}
-- general information about the package;
-- for a Tarantool package, we require three fields (summary, homepage, license)
-- and more package information is always welcome
description = {
summary = "SMTP client module for Tarantool";
detailed = [[
A smtp module to send email via smtp servers.
]];
homepage = 'https://github.com/tarantool/smtp.git';
maintainer = "Roman Tsisyk <[email protected]>";
license = 'BSD2';
}
-- Lua version and other packages on which this one depends;
-- Tarantool currently supports strictly Lua 5.1
dependencies = {
'lua == 5.1';
}
-- filenames to be tested for existence;
-- in TARANTOOL section, specify all C header files needed to build the package
external_dependencies = {
TARANTOOL = {
header = 'tarantool/module.h';
};
}
-- build options and paths for the package;
-- this package distributes modules in C, so the build type = 'cmake';
-- also, specify here all variables required for build:
-- CMAKE_BUILD_TYPE = Tarantool build type (default is RelWithDebInfo)
-- TARANTOOL_INSTALL_LIBDIR = path to all C header files within the package,
-- TARANTOOL_INSTALL_LUADIR = path to all Lua source files within the package
build = {
type = 'cmake';
variables = {
CMAKE_BUILD_TYPE="RelWithDebInfo";
TARANTOOL_INSTALL_LIBDIR="$(LIBDIR)";
TARANTOOL_INSTALL_LUADIR="$(LUADIR)";
};
}
-- vim: syntax=lua ts=4 sts=4 sw=4 et