mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Merged in mhellegers/haikuports/libiodbc (pull request #501)
Add recipe for libiodbc
This commit is contained in:
69
dev-libs/libiodbc/libiodbc-3.52.9.recipe
Normal file
69
dev-libs/libiodbc/libiodbc-3.52.9.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
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"
|
||||
LICENSE="GNU LGPL v2
|
||||
BSD (3-clause)"
|
||||
COPYRIGHT="1995 Ke Jin
|
||||
1996-2014 OpenLink Software"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/iodbc/iodbc/3.52.9/libiodbc-3.52.9.tar.gz"
|
||||
CHECKSUM_SHA256="33207d9f477aa5fa76962ff644baa38e59255b96812f28574794659fb61a7ab2"
|
||||
PATCHES="libiodbc-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?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
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libiodbc_devel = $portVersion
|
||||
cmd:iodbc_config = $portVersion
|
||||
devel:libiodbc = $portVersion
|
||||
devel:libiodbcinst = $portVersion
|
||||
devel:libodbc = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libiodbc == $portVersion base
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
29
dev-libs/libiodbc/patches/libiodbc-3.52.9.patchset
Normal file
29
dev-libs/libiodbc/patches/libiodbc-3.52.9.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
From 919e19cea580666032f1e03bf3892ef0ab2b9d4d Mon Sep 17 00:00:00 2001
|
||||
From: Mark Hellegers <mark@firedisk.net>
|
||||
Date: Wed, 4 Feb 2015 23:22:01 +0100
|
||||
Subject: Add Haiku support to configure
|
||||
|
||||
---
|
||||
configure | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 469edd7..ea2d785 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -10588,6 +10588,12 @@ gnu*)
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
+haiku*)
|
||||
+ library_names_spec='${libname}${shared_ext}'
|
||||
+ dynamic_linker="$host_os ld.so"
|
||||
+ shlibpath_var=LIBRARY_PATH
|
||||
+ ;;
|
||||
+
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||
# link against other versions.
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user