# $Id$ PNAME="sqlite" PVER="3.7.9" PBUILD="r1" PCATEGORIE="dev-db" DESCRIPTION="SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine." HOMEPAGE="http://www.sqlite.org/" DEPEND=">= sys-libs/readline-6.2" UPSTREAM_PVER="${PVER//./0}" [[ ${#UPSTREAM_PVER} -lt 7 ]] && UPSTREAM_PVER+="00" SRCFILE="${PNAME}-autoconf-${UPSTREAM_PVER}.tar.gz" # a special srcfile is needed to build without tcl SRCDIR="${BUILDDIR}/${PNAME}-autoconf-${UPSTREAM_PVER}" sminclude multilib SRC_URI=( http://www.sqlite.org/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.sqlite.org | grep -A2 Current | sed -n 's/.*Version \(.*\) of.*/\1/;$ p'" src_compile() { mconfigure \ --enable-load-extension \ --enable-readline \ --enable-cross-thread-connections \ --enable-threadsafe \ --disable-tcl \ --disable-debug \ || die mmake || die }