SUMMARY="A SQL Database Engine in a C Library" 
DESCRIPTION="SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine." 
HOMEPAGE="http://www.sqlite.org/" 
SRC_URI="http://www.sqlite.org/sqlite-autoconf-3071601.tar.gz"
CHECKSUM_MD5="8860d1a1ed26d40f07e3c7ae035b644a"
REVISION="2"
ARCHITECTURES="?x86_gcc2 ?x86"

PROVIDES="sqlite = $portVersion compat >= 3
	cmd:sqlite3 = $portVersion compat >= 3
	lib:libsqlite = $portVersion compat >= 3
	lib:libsqlite3 = $portVersion compat >= 3"
REQUIRES="haiku >= $haikuVersion"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:aclocal
	cmd:autoconf
	cmd:automake
	cmd:gcc
	cmd:ld
	cmd:libtoolize
	cmd:make
	"

SOURCE_DIR="sqlite-autoconf-3071601"

BUILD()
{
	libtoolize --force --copy --install
	aclocal
	autoconf
	automake
	./configure $configureDirArgs
	make
}

INSTALL()
{
	make install
}

LICENSE="SQLite"
COPYRIGHT="Public Domain"
