mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Convert sqlite 3.7.13 recipe to actual recipe
This commit is contained in:
@@ -1,28 +1,59 @@
|
||||
DESCRIPTION="SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine."
|
||||
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"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="c97df403e8a3d5b67bb408fcd6aabd8e"
|
||||
LICENSE="SQLite"
|
||||
COPYRIGHT="Public Domain"
|
||||
REVISION="1"
|
||||
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()
|
||||
{
|
||||
cd sqlite-autoconf-3071300
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=$COMMON_DOCS/man
|
||||
./configure $configureDirArgs
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd sqlite-autoconf-3071300
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="SQLite"
|
||||
COPYRIGHT="Public Domain"
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libsqlite3
|
||||
mv $libDir/pkgconfig $developLibDir/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user