diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-11-22 17:01:00 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-22 17:01:00 -0600 |
| commit | 6b28bb63b7a37260c504ad0235c3d619e14494d4 (patch) | |
| tree | 2633a6ed19a6b9d395a4adc1765ca83278cfe433 /init | |
| parent | 225a33bf8b1826d213bd5bf04595d59d339aa491 (diff) | |
| download | lua-compat-53-packaging-6b28bb63b7a37260c504ad0235c3d619e14494d4.tar.gz lua-compat-53-packaging-6b28bb63b7a37260c504ad0235c3d619e14494d4.tar.bz2 lua-compat-53-packaging-6b28bb63b7a37260c504ad0235c3d619e14494d4.zip | |
Build the specific version tl uses
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1,13 +1,13 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | cd lua-compat-5.3 | 3 | cd lua-compat-5.3 |
| 4 | cp rockspecs/compat53-scm-1.rockspec . | 4 | cp rockspecs/compat53-$packver.rockspec . |
| 5 | cp rockspecs/bit32-scm-1.rockspec . | 5 | cp rockspecs/bit32-$packver.rockspec . |
| 6 | luarocks config variables.CFLAGS " $CFLAGS" | 6 | luarocks config variables.CFLAGS " $CFLAGS" |
| 7 | luarocks make --pack-binary-rock compat53-scm-1.rockspec | 7 | luarocks make --pack-binary-rock compat53-$packver.rockspec |
| 8 | luarocks make --pack-binary-rock bit32-scm-1.rockspec | 8 | luarocks make --pack-binary-rock bit32-$packver.rockspec |
| 9 | obj1="compat53-scm-1.$(luarocks config arch).rock" | 9 | obj1="compat53-$packver.$(luarocks config arch).rock" |
| 10 | obj2="bit32-scm-1.$(luarocks config arch).rock" | 10 | obj2="bit32-$packver.$(luarocks config arch).rock" |
| 11 | cp $obj1 /root | 11 | cp $obj1 /root |
| 12 | cp $obj2 /root | 12 | cp $obj2 /root |
| 13 | cd /root | 13 | cd /root |
