diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 15:21:16 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 22:54:07 -0300 |
commit | 98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2 (patch) | |
tree | aeb6d9e6f45423cf5698930aea2bc55a8d721fa9 /rockspec | |
parent | cc4c9f6321ebaaf71f8c9c26bd30967e93bd2cbb (diff) | |
download | luarocks-98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2.tar.gz luarocks-98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2.tar.bz2 luarocks-98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2.zip |
Unix: new build system
* Reworked configure script
* Now passes shellcheck
* New Makefile for Unix
* Simplified `make` and `make install` targets
* Simplified `make bootstrap` target
* New targets `make binary` and `make install-binary`
build and install an all-in-one binary of LuaRocks
Diffstat (limited to 'rockspec')
-rw-r--r-- | rockspec | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/rockspec b/rockspec deleted file mode 100644 index bb7645f9..00000000 --- a/rockspec +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | package = "LuaRocks" | ||
2 | local VER = "scm" | ||
3 | version = VER .. "-1" | ||
4 | |||
5 | source = { | ||
6 | url = "--this rockspec is used by `make bootstrap` only--", | ||
7 | } | ||
8 | |||
9 | description = { | ||
10 | summary = "A deployment and management system for Lua modules.", | ||
11 | detailed = [[ | ||
12 | LuaRocks allows you to install Lua modules as self-contained | ||
13 | packages called "rocks", which also contain version dependency | ||
14 | information. This information is used both during installation, | ||
15 | so that when one rock is requested all rocks it depends on are | ||
16 | installed as well, and at run time, so that when a module is | ||
17 | required, the correct version is loaded. LuaRocks supports both | ||
18 | local and remote repositories, and multiple local rocks trees. | ||
19 | ]], | ||
20 | license = "MIT/X11", | ||
21 | homepage = "http://www.luarocks.org", | ||
22 | maintainer = "Hisham Muhammad" | ||
23 | } | ||
24 | |||
25 | dependencies = { | ||
26 | "lua >= 5.1" | ||
27 | } | ||
28 | |||
29 | build = { | ||
30 | type = "make", | ||
31 | install_target = "install_rock", | ||
32 | build_pass=false, | ||
33 | install_variables = { | ||
34 | BINDIR="$(BINDIR)", | ||
35 | LUADIR="$(LUADIR)", | ||
36 | LUA="$(LUA)", | ||
37 | } | ||
38 | } | ||