1DOLLY 72PACKAGE premake3REQUIRES HOST runtime@045# Premake 5.0.0-beta7 as 0 A.D.'s source release bundles it, with6# premake-dolly.patch (premake names the host emscripten and wasm64), for builds7# that generate their Makefiles with it. Bootstrap.mak's two stages run8# directly, its own make -j being unbounded: a premake that loads its scripts,9# then one with them embedded.10FROM /v0.1.4/Dollyfile-system-tools 7f6c86fcc73e544e7007646eba2718bbc4d43b7f0516d9558e2dc500b1a05a8011REQUIRES HEADER libc12REQUIRES TOOL cc13REQUIRES TOOL gzip14REQUIRES TOOL patch15REQUIRES TOOL rm16REQUIRES TOOL tar1718SOURCE /v0.1.4/dist/static/premake/source.tar.gz 1629f9db03329c6196ce90e9457b423cef9dd23e6a45f180888e5285aedb6a55 /tmp/premake.tar.gz19SLOP gzip -dc /tmp/premake.tar.gz | tar -xf - -C /20SLOP patch -p1 -d /tmp/premake/source -i /tmp/premake/dolly.patch21FILE /tmp/premake/build.slop22    set -ex23    cd /tmp/premake/source24    lua=25    for name in lapi lauxlib lbaselib lbitlib lcode lcorolib lctype ldblib ldebug ldo ldump lfunc lgc linit liolib llex lmathlib lmem loadlib lobject lopcodes loslib lparser lstate lstring lstrlib ltable ltablib ltm lundump lutf8lib lvm lzio; do26      lua="$lua contrib/lua/src/$name.c"27    done28    flags='-DLUA_STATICLIB -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Icontrib/lua/src -Icontrib/luashim'29    cc -O1 -o premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS $flags src/host/*.c $lua -lm30    ./premake_bootstrap embed31    cc -O2 -o /usr/bin/premake5 $flags src/host/*.c src/scripts.c $lua -lm32SLOP slop -e /tmp/premake/build.slop33SLOP premake5 --version3435EXPORTS TOOL premake536FILE /usr/share/man/cat1/premake5.137    premake5: Premake 5.0.0-beta7, as 0 A.D.'s source release bundles it.38    premake5 ACTION reads premake5.lua in the current directory and writes the39    project files ACTION names, Makefiles for gmake; premake5 --help lists the40    actions and options that script adds (its exit status is 1).41FILE /usr/share/licenses/premake/LICENSE.txt42SLOP rm -rf /tmp/premake /tmp/premake.tar.gz43