70 lines
1.8 KiB
Bash
70 lines
1.8 KiB
Bash
SUMMARY="Independent Open DataBase Connectivity"
|
|
DESCRIPTION="iODBC is the acronym for Independent Open DataBase Connectivity, \
|
|
an Open Source platform independent implementation of both the ODBC \
|
|
and X/Open specifications. It is rapidly emerging as the industry standard \
|
|
for developing solutions that are language, platform and database independent."
|
|
HOMEPAGE="http://www.iodbc.org"
|
|
COPYRIGHT="1995 Ke Jin
|
|
1996-2014 OpenLink Software"
|
|
LICENSE="GNU LGPL v2
|
|
BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sf.net/projects/iodbc/files/iodbc/$portVersion/libiodbc-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="51c5ff3a7d9a54202486cb77a3514e0e379a135beefcd5d12b96d1901f9dfb62"
|
|
PATCHES="libiodbc-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
PROVIDES="
|
|
libiodbc$secondaryArchSuffix = $portVersion
|
|
cmd:iodbctest$secondaryArchSuffix = $portVersion
|
|
cmd:iodbctestw$secondaryArchSuffix = $portVersion
|
|
lib:libiodbc$secondaryArchSuffix = $portVersion
|
|
lib:libiodbcinst$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libiodbc${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:iodbc_config$secondaryArchSuffix = $portVersion
|
|
devel:libiodbc$secondaryArchSuffix = $portVersion
|
|
devel:libiodbcinst$secondaryArchSuffix = $portVersion
|
|
devel:libodbc$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libiodbc$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --with-iodbc-inidir=$settingsDir/etc
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libiodbc \
|
|
libiodbcinst \
|
|
libodbc
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$binDir/iodbc-config \
|
|
$developDir \
|
|
$dataDir
|
|
}
|