Files
haikuports/dev-db/sqlite/sqlite-3.7.13.recipe
Ingo Weinhold 501e998c38 sqlite 3.7.13: update recipe
* Use runConfigure, jobArgs.
* Build separate devel package.
2013-06-17 19:00:46 +02:00

74 lines
1.4 KiB
Plaintext

SUMMARY="An 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.
SQLite is the most widely deployed SQL database engine in the world.
The source code for SQLite is in the public domain.
"
HOMEPAGE="http://www.sqlite.org/"
SRC_URI="http://www.sqlite.org/sqlite-autoconf-3071300.tar.gz"
CHECKSUM_MD5="c97df403e8a3d5b67bb408fcd6aabd8e"
LICENSE="SQLite"
COPYRIGHT="Public Domain"
REVISION="3"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="sqlite-3.7.13.patch"
PROVIDES="
sqlite = $portVersion compat >= 3
cmd:sqlite3 = $portVersion compat >= 3
lib:libsqlite3 = 0.8.6 compat >= 0
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
"
SOURCE_DIR="sqlite-autoconf-3071300"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
automake
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs libsqlite3
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
sqlite_devel = $portVersion
devel:libsqlite3 = 0.8.6 compat >= 0
"
REQUIRES_devel="
sqlite == $portVersion base
"