diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-12-19 00:44:25 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-19 00:44:25 -0600 |
| commit | a030fd39f012b22705704905c534f4fda4ffdc55 (patch) | |
| tree | db60572ceb98ef39008239e4eb4f464bde8b9210 /init | |
| parent | 18b46d73b800272186d72a604bd50c921ff16bee (diff) | |
| download | luaossl-packaging-a030fd39f012b22705704905c534f4fda4ffdc55.tar.gz luaossl-packaging-a030fd39f012b22705704905c534f4fda4ffdc55.tar.bz2 luaossl-packaging-a030fd39f012b22705704905c534f4fda4ffdc55.zip | |
work
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" |
