# $Id: Portfile,v 1.1 2006/03/03 11:23:28 mww Exp $

PortSystem 1.0
name			sqlite2
version			2.8.17
categories		databases
platforms		darwin
maintainers		darwinports@opendarwin.org
description		an embedded SQL database engine
long_description	SQLite is an SQL database engine in a C library. \
					Programs that link the SQLite library can have SQL \
					database access without running a separate RDBMS \
					process.  The distribution comes with a standalone \
					command-line access program (sqlite) that can be used \
					to administer an SQLite database and which serves as \
					an example of how to use the SQLite library. 
homepage		http://www.sqlite.org/
master_sites	${homepage}
distname		sqlite-${version}
checksums		sha1 75db1cf3b00ea18ae8528e676fc9fdf698e2fe58

depends_lib		port:readline

patchfiles		patch-configure patch-Makefile.in

configure.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"

build.type		gnu

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
