Skip to content

Commit

Permalink
sqlite: bump to 3.12.2, reorder sections, add TEST(). (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrosson committed Apr 23, 2016
1 parent 44700fb commit 379cb0a
Showing 1 changed file with 31 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

Expand All @@ -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
}

0 comments on commit 379cb0a

Please sign in to comment.