diff options
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1,7 +1,12 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | cp luaossl-packaging/luaossl-git-0.rockspec luaossl | 3 | cp luaossl-packaging/luaossl-git-0.rockspec luaossl |
| 4 | tar -xvzf include.tar.gz | ||
| 5 | mkdir lib | ||
| 6 | cp libcrypto.a lib | ||
| 4 | cd luaossl | 7 | cd luaossl |
| 8 | git apply /root/luaossl-packaging/openssl.c.patch | ||
| 9 | |||
| 5 | luarocks config variables.CFLAGS " $CFLAGS" | 10 | luarocks config variables.CFLAGS " $CFLAGS" |
| 6 | luarocks make --pack-binary-rock luaossl-git-0.rockspec | 11 | luarocks make --pack-binary-rock luaossl-git-0.rockspec |
| 7 | obj="luaossl-git.$(luarocks config arch).rock" | 12 | obj="luaossl-git.$(luarocks config arch).rock" |
