# sqlean/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: rm -fr gitdir || exit 1 ocgitfetch --run --notar \ --checkout=0.15.1 \ https://github.com/nalgeon/sqlean.git || exit 1 cd gitdir || exit 1 BASE=`ls | grep sqlean-git-` cd $BASE || exit 1 make download-external || exit 1 cd .. || exit 1 tar jcf $BASE.tar.bz2 $BASE || exit 1 ls -l $BASE.tar.bz2 || exit 1 #--------------------------------------------------------------------- 2. This distro sets up "sqlean" as follows: 2.1. The "sqlean" extensions are named as follows: sqleancrypto sqleanfileio sqleanfuzzy sqleanipaddr sqleanjson1 sqleanmath sqleanre sqleanspellfix sqleanstats sqleantext sqleanunicode sqleanuuid sqleanvsv #--------------------------------------------------------------------- 2.2. To load one of the extensions, simply use an SQLite3 command of the following form: .load sqleanstats Substitute any name from the list in part 2.1 for "sqleanstats" right above. There is no need to specify a directory path in order to get the ex- tension loaded. #--------------------------------------------------------------------- 3. "bash"-level example: % sqlite3 << END .load sqleanstats select median(value) from generate_series(1, 99); END 50.0 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = LICENSE proddir = $PRODTREE/sqlite3 purge = no shareddir = yes strip = no tmpsize = 2M setpaths = sqlite3 #--------------------------------------------------------------------- [depends] sqlite3:strict #--------------------------------------------------------------------- [build] LIBDIR=$PKGDIR_PROD/lib sed -e 's@dist/@dist/sqlean@' -i Makefile sed -e 's/sqlite3_\([a-z0-9]*\)_init/sqlite3_sqlean\1_init/' \ -i src/*.c rm -fr dist mkdir dist mkdir -p $LIBDIR make compile-linux mv dist/*.so $LIBDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian_page = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 220104 Added package. Started with a5205171c (same as 0.15.1).