mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 17:50:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
94 lines
2.4 KiB
Bash
94 lines
2.4 KiB
Bash
SUMMARY="The Oracle Berkeley Database"
|
|
DESCRIPTION="The Oracle Berkeley DB family of open source, embeddable \
|
|
databases provides developers with fast, reliable, local persistence with zero \
|
|
administration."
|
|
HOMEPAGE="http://www.oracle.com/technetwork/database/berkeleydb/index.html"
|
|
COPYRIGHT="1990-2013, Oracle
|
|
1990-1995, The Regents of the University of California
|
|
1996-1996, The President and Fellows of Harvard University
|
|
2000-2005, INRIA - France Telecom"
|
|
LICENSE="SleepyCat"
|
|
REVISION="3"
|
|
SOURCE_URI="http://download.oracle.com/berkeley-db/db-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628"
|
|
SOURCE_DIR="db-${portVersion}"
|
|
PATCHES="db-${portVersion}.patch"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
db${secondaryArchSuffix} = $portVersion compat >= 5.3
|
|
cmd:db_archive${secondaryArchSuffix}
|
|
cmd:db_checkpoint${secondaryArchSuffix}
|
|
cmd:db_deadlock${secondaryArchSuffix}
|
|
cmd:db_dump${secondaryArchSuffix}
|
|
cmd:db_hotbackup${secondaryArchSuffix}
|
|
cmd:db_load${secondaryArchSuffix}
|
|
cmd:db_log_verify${secondaryArchSuffix}
|
|
cmd:db_printlog${secondaryArchSuffix}
|
|
cmd:db_recover${secondaryArchSuffix}
|
|
cmd:db_replicate${secondaryArchSuffix}
|
|
cmd:db_stat${secondaryArchSuffix}
|
|
cmd:db_tuner${secondaryArchSuffix}
|
|
cmd:db_upgrade${secondaryArchSuffix}
|
|
cmd:db_verify${secondaryArchSuffix}
|
|
lib:libdb${secondaryArchSuffix}
|
|
lib:libdb_5${secondaryArchSuffix}
|
|
lib:libdb_5.3${secondaryArchSuffix}
|
|
lib:libdb_cxx${secondaryArchSuffix}
|
|
lib:libdb_cxx_5${secondaryArchSuffix}
|
|
lib:libdb_cxx_5.3${secondaryArchSuffix}
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
db${secondaryArchSuffix}_devel = $portVersion compat >= 5.3
|
|
devel:libdb${secondaryArchSuffix} = $portVersion
|
|
devel:libdb_5.3${secondaryArchSuffix} = $portVersion
|
|
devel:libdb_cxx${secondaryArchSuffix} = $portVersion
|
|
devel:libdb_cxx_5.3${secondaryArchSuffix} = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
db$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd build_unix
|
|
runConfigure ../dist/configure --enable-cxx
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build_unix
|
|
make install
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libdb libdb-5.3 libdb_cxx libdb_cxx-5.3
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build_unix
|
|
#make dbtest
|
|
}
|