1DOLLY 72PACKAGE sqlite3REQUIRES HOST runtime@045# SQLite from upstream's autoconf archive, unchanged: the sqlite3 shell, and6# the library and headers for programs the cc package builds. Slop does not7# run upstream's configure, so the flags say what it would be told here:8# - its own defaults (OPT_SHELL, math functions, JSON, carray) and FTS5;9# - one thread: a -pthread library would need threads@0 in every program;10# - no loadable extensions: a program loads none without -rdynamic and dso@0;11# - a database is locked by the process that has it open, the mode SQLite12#   documents for a system without shared memory: a write-ahead log's index13#   is a mapping shared between processes, and a mapping here is a private14#   copy. PRAGMA locking_mode = NORMAL is still there for rollback journals;15# - zlib, for the shell's archives (.archive, sqlite3 -A, zip files as tables);16# - linenoise (--with-linenoise): the shell edits its own lines, with history.17FROM /v0.1.5/demos/tools/Dollyfile-tools-build 9f9cfa93f7bc4ddd5fc5cbd9ced4d2100cd41349f9f2b6f75ab9d8e26a57da6218USE /v0.1.5/Dollyfile-zlib 0b706df4c643faf419bd9089995b97d13ff7237493d9bb9727f8d3df91cbe0331920REQUIRES HEADER libc21REQUIRES HEADER zlib22REQUIRES LIB    z23REQUIRES TOOL   ar24REQUIRES TOOL   cc25REQUIRES TOOL   cp26REQUIRES TOOL   gzip27REQUIRES TOOL   make28REQUIRES TOOL   mkdir29REQUIRES TOOL   mv30REQUIRES TOOL   sed31REQUIRES TOOL   tar32REQUIRES TOOL   test33REQUIRES TOOL   text-page3435SOURCE /v0.1.5/dist/static/tools/sqlite-autoconf-3540000.tar.gz 134ec0802dda5795816e25d25872d20b312cb3973438c49b30bc40b7705ea9ed /tmp/sqlite.tar.gz36SLOP gzip -dc /tmp/sqlite.tar.gz | tar -xf - -C /tmp37SOURCE /v0.1.5/dist/static/tools/linenoise-2.0.tar.gz 97ad7d4041e11d7fa395819fd773c1892dea89e5292342378a8345692ce89c29 /tmp/linenoise.tar.gz38SLOP gzip -dc /tmp/linenoise.tar.gz | tar -xf - -C /tmp && mv /tmp/linenoise-2.0 /tmp/linenoise3940FILE /tmp/sqlite.mk41    .RECIPEPREFIX := >42    S := /tmp/sqlite-autoconf-354000043    N := /tmp/linenoise44    BIN := /usr/bin45    LIB := /usr/lib46    FEATURES := -DSQLITE_DQS=0 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_RTREE \47      -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION -DSQLITE_ENABLE_STMTVTAB \48      -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_BYTECODE_VTAB \49      -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PERCENTILE -DSQLITE_STRICT_SUBTYPE=1 \50      -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_CARRAY -DSQLITE_THREADSAFE=0 \51      -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_HAVE_ZLIB=152    all: $(BIN)/sqlite353    $S/shell.o: FEATURES += -DHAVE_LINENOISE=1 -I $N54    %.o: %.c55    >cc -O2 $(FEATURES) -c $< -o $@56    $(LIB)/libsqlite3.a: $S/sqlite3.o57    >ar rcs $@ $^58    $(BIN)/sqlite3: $S/shell.o $N/linenoise.o $(LIB)/libsqlite3.a59    >cc $^ -lz -lm -o $@60SLOP make -j2 -f /tmp/sqlite.mk61SLOP cp /tmp/sqlite-autoconf-3540000/sqlite3.h /tmp/sqlite-autoconf-3540000/sqlite3ext.h /usr/include62SLOP text-page /tmp/sqlite-autoconf-3540000/sqlite3.16364# SQLite is in the public domain and ships no licence file: its sources open65# with the dedication.66SLOP mkdir -p /usr/share/licenses/sqlite67SLOP sed -n 2,10p /tmp/sqlite-autoconf-3540000/sqlite3.h > /usr/share/licenses/sqlite/blessing68SLOP mkdir -p /usr/share/licenses/linenoise && cp /tmp/linenoise/LICENSE /usr/share/licenses/linenoise/LICENSE6970SLOP test "$(sqlite3 :memory: "select sqlite_version(), json_extract(json_array(6, 7), '\$[1]'), sqrt(16)")" = '3.54.0|7|4.0'7172EXPORTS TOOL   sqlite373EXPORTS LIB    sqlite3    /usr/lib/libsqlite3.a74EXPORTS HEADER sqlite3    /usr/include/sqlite3.h75EXPORTS HEADER sqlite3ext /usr/include/sqlite3ext.h76FILE /usr/share/licenses/sqlite/blessing77FILE /usr/share/licenses/linenoise/LICENSE78FILE /usr/share/man/cat1/sqlite3.179