1DOLLY 72PACKAGE unzip3REQUIRES HOST runtime@045# Info-ZIP's UnZip from upstream's release archive, unchanged: unzip, and6# zipinfo, which is unzip under the name it looks for. Slop does not run7# unix/configure, so the flags say what it would find here; there is no8# lchmod. The sources are C of 1990, which -std=gnu89 compiles; they call9# read, write and lseek without their header unless the system says it is10# BSD 4.4 or System V, and a call through the wrong type traps in Wasm.11FROM /v0.1.4/demos/tools/Dollyfile-tools-build 81e1c1bc8b06c83b1daead6c8f09bc8b1382e8fe165f896a98109396b58bb3051213REQUIRES HEADER libc14REQUIRES TOOL   cc15REQUIRES TOOL   cp16REQUIRES TOOL   gzip17REQUIRES TOOL   ln18REQUIRES TOOL   make19REQUIRES TOOL   mkdir20REQUIRES TOOL   tar21REQUIRES TOOL   test22REQUIRES TOOL   text-page2324SOURCE /v0.1.4/dist/static/tools/unzip60.tar.gz 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 /tmp/unzip.tar.gz25SLOP gzip -dc /tmp/unzip.tar.gz | tar -xf - -C /tmp2627FILE /tmp/unzip.mk28    .RECIPEPREFIX := >29    S := /tmp/unzip6030    BIN := /usr/bin31    # The objects of unix/Makefile.32    NAMES := unzip crc32 crypt envargs explode extract fileio globals inflate list match process \33      ttyio ubz2err unreduce unshrink zipinfo unix/unix34    CPPFLAGS := -I $S -DUNIX -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR \35      -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS36    $(BIN)/unzip: $(addprefix $S/,$(addsuffix .o,$(NAMES)))37    >cc $^ -o $@38    $S/%.o: $S/%.c39    >cc -O2 -std=gnu89 -include unistd.h $(CPPFLAGS) -c $< -o $@40SLOP make -j4 -f /tmp/unzip.mk41SLOP ln -s unzip /usr/bin/zipinfo42SLOP mkdir -p /usr/share/licenses/unzip43SLOP cp /tmp/unzip60/LICENSE /usr/share/licenses/unzip/LICENSE44SLOP text-page /tmp/unzip60/man/unzip.1 /tmp/unzip60/man/zipinfo.14546# The archive upstream ships to test a build with.47SLOP CWD /tmp/unzip60 unzip -tq testmake.zip48SLOP CWD /tmp unzip -q /tmp/unzip60/testmake.zip notes && test -s /tmp/notes4950EXPORTS TOOL unzip51EXPORTS TOOL zipinfo52FILE /usr/share/licenses/unzip/LICENSE53FILE /usr/share/man/cat1/unzip.154FILE /usr/share/man/cat1/zipinfo.155