1DOLLY 82PACKAGE gperf3REQUIRES HOST runtime@045# GNU gperf 3.1 from upstream's release archive, unchanged: a perfect hash6# function generator (fontconfig's build runs it). Its library is plain C7# and C++, written in C++14; Slop does not run its configure, so config.h8# says what it would find.9FROM /demos/tools/Dollyfile-tools-build f848aebbca736e17aa72bca3fb0387176bf8695f829e6c49d1664a4ed6b7868d1011REQUIRES HEADER libc12REQUIRES HEADER cpp13REQUIRES TOOL   c++14REQUIRES TOOL   cc15REQUIRES TOOL   gzip16REQUIRES TOOL   make17REQUIRES TOOL   mkdir18REQUIRES TOOL   tar19REQUIRES TOOL   test20REQUIRES TOOL   text-page2122SOURCE /dist/static/gperf/source.tar.gz 4887e0ab23161fd0b2e1dfd1b34aac1ba63e6c858c42e1b10f3427d8cc5cedca /tmp/gperf.tar.gz23SLOP gzip -dc /tmp/gperf.tar.gz | tar -xf - -C /2425FILE /tmp/gperf.mk26    .RECIPEPREFIX := >27    G := /tmp/gperf28    B := /tmp/gperf-build29    FLAGS := -O2 -I$(B) -I$(G)/lib30    OBJ := lib/getline lib/getopt lib/getopt1 lib/hash src/bool-array src/hash-table src/input \31      src/keyword-list src/keyword src/main src/options src/output src/positions src/search src/version32    all: /usr/bin/gperf33    $(B)/config.h:34    >mkdir -p $(B)35    >printf '#define HAVE_DYNAMIC_ARRAY 1\n#define PACKAGE_VERSION "3.1"\n' > $@36    $(B)/%.o: $(G)/%.cc $(B)/config.h37    >mkdir -p $(@D)38    >c++ -std=gnu++14 $(FLAGS) -c $< -o $@39    $(B)/%.o: $(G)/%.c $(B)/config.h40    >mkdir -p $(@D)41    >cc $(FLAGS) -c $< -o $@42    /usr/bin/gperf: $(addprefix $(B)/,$(addsuffix .o,$(OBJ)))43    >c++ $^ -o $@44SLOP make -j4 -f /tmp/gperf.mk45SLOP text-page /tmp/gperf/doc/gperf.14647# Three keywords and a word that is none of them.48FILE /tmp/gperf-check/words.gperf49    %%50    red51    green52    blue53    %%54    int main(void) { return !(in_word_set("green", 5) && !in_word_set("grey", 4)); }55SLOP CWD /tmp/gperf-check gperf --includes --output-file=words.c words.gperf && cc words.c -o words && ./words5657EXPORTS TOOL gperf58FILE /usr/share/licenses/gperf/COPYING59FILE /usr/share/man/cat1/gperf.160