From 401f2a18da228d46bc5b9dc8990cca4cb6a6ea55 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 1 Oct 2013 12:30:14 +0200 Subject: [PATCH] Add sqlite 3.8.0.2 recipe. * Latest release from sqlite. * This fixes the libraries location as previous versions of the package did not have them in the right place, also fixes the pkg-config script location. * I could not rebuild the older recipes, apparently the source archive was moved on sqlite server, and they don't link to it anymore. --- dev-db/sqlite/sqlite-3.8.0.2.recipe | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-db/sqlite/sqlite-3.8.0.2.recipe diff --git a/dev-db/sqlite/sqlite-3.8.0.2.recipe b/dev-db/sqlite/sqlite-3.8.0.2.recipe new file mode 100644 index 000000000..78528a4df --- /dev/null +++ b/dev-db/sqlite/sqlite-3.8.0.2.recipe @@ -0,0 +1,50 @@ +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/2013/sqlite-autoconf-3080002.tar.gz" +CHECKSUM_MD5="6d6cc639a4da04fbbdda7b1a1a01b386" +REVISION="1" +ARCHITECTURES="?x86_gcc2 ?x86" + +PROVIDES="sqlite = $portVersion compat >= 3 + cmd:sqlite3 = $portVersion compat >= 3 + lib:libsqlite = $portVersion compat >= 3 + devel:libsqlite3 = $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-3080002" + +BUILD() +{ + libtoolize --force --copy --install + aclocal + autoconf + automake + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLib libsqlite3 + fixPkgconfig +} + +LICENSE="SQLite" +COPYRIGHT="Public Domain"