Files
haikuports/dev-db/sqlite/sqlite-3.8.7.4.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

84 lines
1.9 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/"
sqliteVersion=$(echo $portVersion | sed 's/\.\([0-9]\)/0\1/g')
SRC_URI="http://www.sqlite.org/2014/sqlite-autoconf-$sqliteVersion.tar.gz"
CHECKSUM_SHA256="86370f139405fdfe03334fd618171a74e50f589f17ccbe5933361ed1f58359ec"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
SOURCE_DIR="sqlite-autoconf-$sqliteVersion"
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
"