mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
sqlite: recipe for version 3.8.4.1
This commit is contained in:
85
dev-db/sqlite/sqlite-3.8.4.1.recipe
Normal file
85
dev-db/sqlite/sqlite-3.8.4.1.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
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/2014/sqlite-autoconf-3080401.tar.gz"
|
||||
CHECKSUM_SIZE="1937368"
|
||||
CHECKSUM_MD5="6b8cb7b9063a1d97f7b5dc517e8ee0c4"
|
||||
CHECKSUM_RMD160="e4cf636abcffb628b66428eaa9687632acf096a2"
|
||||
CHECKSUM_SHA512="222868477a73b2f15ee95dbe244a724fd42ad6d6f7401fda0161ac40d13babed36e42cbafd154102dcab202f10576c4460143c634e31701381d314b2390e186b"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
LICENSE="SQLite"
|
||||
COPYRIGHT="Public Domain"
|
||||
|
||||
PROVIDES="
|
||||
sqlite$secondaryArchSuffix = $portVersion compat >= 3
|
||||
lib:libsqlite3$secondaryArchSuffix = 0.8.6 compat >= 0
|
||||
"
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
PROVIDES="$PROVIDES
|
||||
cmd:sqlite3 = $portVersion compat >= 3
|
||||
"
|
||||
fi
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="sqlite-autoconf-3080401"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libsqlite3
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
# Remove stuff we don't need in the secondary architecture base package.
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf $binDir
|
||||
rm -rf $documentationDir
|
||||
fi
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
sqlite${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsqlite3$secondaryArchSuffix = 0.8.6 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
sqlite$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user