Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 75eab4a

Browse files
author
kapec
committed
Added build scripts
1 parent 900196f commit 75eab4a

File tree

4 files changed

+490
-19
lines changed

4 files changed

+490
-19
lines changed

CMakeLists.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (C) 2011 LuaDist.
2+
# Created by Peter Kapec
3+
# Redistribution and use of this file is allowed according to the terms of the MIT license.
4+
# For details see the COPYRIGHT file distributed with LuaDist.
5+
# Please note that the package source code is licensed under its own license.
6+
7+
PROJECT (lua-compress-deflatelua NONE)
8+
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
9+
INCLUDE ( dist.cmake )
10+
11+
# Install all files and documentation
12+
install_lua_module ( compress.deflatelua module/lmod/compress/deflatelua.lua )
13+
install_lua_module ( bin.gunziplua module/lmod/bin/gunziplua.lua )
14+
15+
install_lua_executable( gunziplua bin/gunziplua)
16+
17+
install_test(test/test.lua)
18+
install_data ( COPYRIGHT share/compress.deflatelua/hello.txt.gz )
19+
20+
21+
22+

bin/gunziplua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
#!/bin/env lua
22
-- gunziplua command-line utility
3-
package.path = '../lua-digest-crc32lua/module/lmod/?.lua;' .. package.path
4-
package.path = '../lua-pythonic-optparse/module/lmod/?.lua;' .. package.path
5-
package.path = '../lua-bit-numberlua/module/lmod/?.lua;' .. package.path
6-
package.path = 'module/lmod/?.lua;' .. package.path
73
require 'bin.gunziplua' (...)

0 commit comments

Comments
 (0)