sqlite: bump to 3.12.2, reorder sections, add TEST(). (#570)

This commit is contained in:
fbrosson
2016-04-23 21:57:14 +00:00
parent 44700fb58c
commit 379cb0abe3

View File

@@ -1,19 +1,19 @@
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 -e 's/\.\([0-9]\>\)/0\1/g' -e 's/\.//g')
SOURCE_URI="http://www.sqlite.org/2016/sqlite-autoconf-$sqliteVersion.tar.gz"
CHECKSUM_SHA256="1c038519862b3983b0475f3ed3143ce4bbfcd21bfbd0741192f415838c831a7c"
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="https://www.sqlite.org/"
COPYRIGHT="Public Domain"
LICENSE="SQLite"
REVISION="1"
sqliteVersion=$(echo $portVersion | sed -e 's/\.\([0-9]\>\)/0\1/g' -e 's/\.//g')
SOURCE_URI="https://www.sqlite.org/2016/sqlite-autoconf-$sqliteVersion.tar.gz"
CHECKSUM_SHA256="fd00770c9afd39db555c78400e52f55e8bd6568c78be23561abb472a22d09abb"
SOURCE_DIR="sqlite-autoconf-$sqliteVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
LICENSE="SQLite"
COPYRIGHT="Public Domain"
PROVIDES="
sqlite$secondaryArchSuffix = $portVersion compat >= 3
@@ -28,29 +28,37 @@ fi
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
sqlite${secondaryArchSuffix}_devel = $portVersion
devel:libsqlite3$secondaryArchSuffix = 0.8.6 compat >= 0
"
REQUIRES_devel="
sqlite$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:aclocal_1.13
cmd:aclocal
cmd:autoconf
cmd:automake_1.13
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
SOURCE_DIR="sqlite-autoconf-$sqliteVersion"
BUILD()
{
libtoolize --force --copy --install
aclocal-1.13
aclocal
autoconf
automake-1.13
automake
runConfigure ./configure
# Not using "make $jobArgs" because parallel builds are not supported.
make
}
@@ -72,12 +80,7 @@ INSTALL()
fi
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
sqlite${secondaryArchSuffix}_devel = $portVersion
devel:libsqlite3$secondaryArchSuffix = 0.8.6 compat >= 0
"
REQUIRES_devel="
sqlite$secondaryArchSuffix == $portVersion base
"
TEST()
{
make check
}