summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--dev-libs/ibpp/Manifest16
-rw-r--r--dev-libs/ibpp/files/digest-ibpp-2.3.5.03
-rw-r--r--dev-libs/ibpp/files/ibpp-2.3.5.0-CXXFLAGS.patch30
-rw-r--r--dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch21
-rw-r--r--dev-libs/ibpp/ibpp-2.3.5.0.ebuild44
-rw-r--r--profiles/categories1
6 files changed, 115 insertions, 0 deletions
diff --git a/dev-libs/ibpp/Manifest b/dev-libs/ibpp/Manifest
new file mode 100644
index 0000000..6989f0b
--- a/dev/null
+++ b/dev-libs/ibpp/Manifest
@@ -0,0 +1,16 @@
+AUX ibpp-2.3.5.0-CXXFLAGS.patch 987 RMD160 edec8a31d2d1615d66773e2c7345b2a58e5cae06 SHA1 6e88ccbc5833abba35c7145e97868a44104e911f SHA256 972cfc6b2845b4b832ca854fe5e0a42e873eb784a2ca3ae52565e0e1e3c4c5d1
+MD5 ee92adba0600f1c0045776b937867213 files/ibpp-2.3.5.0-CXXFLAGS.patch 987
+RMD160 edec8a31d2d1615d66773e2c7345b2a58e5cae06 files/ibpp-2.3.5.0-CXXFLAGS.patch 987
+SHA256 972cfc6b2845b4b832ca854fe5e0a42e873eb784a2ca3ae52565e0e1e3c4c5d1 files/ibpp-2.3.5.0-CXXFLAGS.patch 987
+AUX ibpp-2.3.5.0-amd64.patch 785 RMD160 598f44878f21ba8dca3a09739026a7671d311d6f SHA1 fd10c3cf26b8eb4a1cf9f3526e3f7950ebb2f2d0 SHA256 bd4c86174f8ba0000cc5a1fc846afc10af7205d7a47361d1cd004f4d1124e42f
+MD5 14ae81cccb524af4434b4db4fdb8db7d files/ibpp-2.3.5.0-amd64.patch 785
+RMD160 598f44878f21ba8dca3a09739026a7671d311d6f files/ibpp-2.3.5.0-amd64.patch 785
+SHA256 bd4c86174f8ba0000cc5a1fc846afc10af7205d7a47361d1cd004f4d1124e42f files/ibpp-2.3.5.0-amd64.patch 785
+DIST ibpp-2-3-5-0-src.zip 126081 RMD160 02226aabc07177b4b24595667301b5d39cc483b2 SHA1 61b0c6f96b2c1f411f959632e0e800e6de116004 SHA256 422a72596f933ab81a9097dcf3d6ad275bf148ea260a15e68456fa1ad01e0eed
+EBUILD ibpp-2.3.5.0.ebuild 1003 RMD160 76f02d3ac1bb965da95b0b957d237a19a7c0178f SHA1 1e314805ddcfb99e60ff47ac7882ea6debd439ec SHA256 8906c50c9b798e6d5c866a5de85a1b3525e7273f26de9e0bf91b1401a1cc420d
+MD5 7b2beb4c3fb2faa49de70c24bdc908a2 ibpp-2.3.5.0.ebuild 1003
+RMD160 76f02d3ac1bb965da95b0b957d237a19a7c0178f ibpp-2.3.5.0.ebuild 1003
+SHA256 8906c50c9b798e6d5c866a5de85a1b3525e7273f26de9e0bf91b1401a1cc420d ibpp-2.3.5.0.ebuild 1003
+MD5 a9b9b947c101ec16af710ade4dd02ca8 files/digest-ibpp-2.3.5.0 241
+RMD160 20e5b70d71743fafe10df714ed06e1fc6ec88b62 files/digest-ibpp-2.3.5.0 241
+SHA256 8910fd8b2f00f1015212e003a888f5efaee124125629fe1b648a886f7b228319 files/digest-ibpp-2.3.5.0 241
diff --git a/dev-libs/ibpp/files/digest-ibpp-2.3.5.0 b/dev-libs/ibpp/files/digest-ibpp-2.3.5.0
new file mode 100644
index 0000000..62f93d1
--- a/dev/null
+++ b/dev-libs/ibpp/files/digest-ibpp-2.3.5.0
@@ -0,0 +1,3 @@
+MD5 f96991555dec3c98216e0d78f31b8586 ibpp-2-3-5-0-src.zip 126081
+RMD160 02226aabc07177b4b24595667301b5d39cc483b2 ibpp-2-3-5-0-src.zip 126081
+SHA256 422a72596f933ab81a9097dcf3d6ad275bf148ea260a15e68456fa1ad01e0eed ibpp-2-3-5-0-src.zip 126081
diff --git a/dev-libs/ibpp/files/ibpp-2.3.5.0-CXXFLAGS.patch b/dev-libs/ibpp/files/ibpp-2.3.5.0-CXXFLAGS.patch
new file mode 100644
index 0000000..6823ca6
--- a/dev/null
+++ b/dev-libs/ibpp/files/ibpp-2.3.5.0-CXXFLAGS.patch
@@ -0,0 +1,30 @@
+diff -Naur ibpp.orig/Makefile ibpp/Makefile
+--- ibpp.orig/Makefile 2004-09-27 14:08:44.000000000 -0400
++++ ibpp/Makefile 2005-09-16 02:44:37.000000000 -0400
+@@ -164,20 +164,19 @@
+ # building on linux (any flavour, I suppose)
+ ifeq ($(PLATFORM),linux)
+ CXXOUTPUT = -o
+- CXXFLAGS =-DIBPP_LINUX
+- CXXFLAGS+=-DIBPP_GCC
+- CXXFLAGS+=-I./ -I./fbheaders
+ #
+ # change -lfbclient by -lgds if building with Firebird 1.x or InterBase
+ # -lfbclient (or -lgds) is for Firebird 1.5 SS and higher
+ # -lfbembed is for Firebird 1.5 CS and higher
+ #
+ LIBS+=-lfbclient -lcrypt -lm -ldl -lpthread # dependancies for shared library
+- ifeq ($(TARGETDIR),release)
+- CXXFLAGS+= -O3
+- else
+- CXXFLAGS+= -g -DDEBUG -Wall
++ ifeq ($(TARGETDIR),debug)
++ CXXFLAGS=-g -DDEBUG -Wall
+ endif
++ CXXFLAGS+=-fPIC
++ CXXFLAGS+=-DIBPP_LINUX
++ CXXFLAGS+=-DIBPP_GCC
++ CXXFLAGS+=-I./ -I./fbheaders
+ #
+ TARGETS = $(TARGETDIR)/$(PLATFORM)/libibpp.a \
+ $(TARGETDIR)/$(PLATFORM)/libibpp.so \
diff --git a/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch b/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
new file mode 100644
index 0000000..283a46b
--- a/dev/null
+++ b/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
@@ -0,0 +1,21 @@
+diff -Naur ibpp.orig/array.cpp ibpp/array.cpp
+--- ibpp.orig/array.cpp 2004-09-23 17:34:08.000000000 +0200
++++ ibpp/array.cpp 2004-10-25 22:51:01.000000000 +0200
+@@ -289,7 +289,7 @@
+ throw ExceptionImpl("Array::ReadTo", "Wrong count of array elements");
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_get_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())
+@@ -1088,7 +1088,7 @@
+ }
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_put_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())
diff --git a/dev-libs/ibpp/ibpp-2.3.5.0.ebuild b/dev-libs/ibpp/ibpp-2.3.5.0.ebuild
new file mode 100644
index 0000000..02ffb39
--- a/dev/null
+++ b/dev-libs/ibpp/ibpp-2.3.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ibpp-2.3.4.0.ebuild,v 1.2 2006/03/19 22:31:31 halcy0n Exp $
+
+inherit eutils
+
+MY_P=${P//./-}-src
+
+DESCRIPTION="IBPP, a C++ client API for firebird 1.0"
+HOMEPAGE="http://www.ibpp.org/"
+SRC_URI="mirror://sourceforge/ibpp/${MY_P}.zip"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug"
+
+RDEPEND=">=dev-db/firebird-1.5.1"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ mkdir ${P}
+ cd ${P}
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-CXXFLAGS.patch
+ use amd64 && epatch ${FILESDIR}/${P}-amd64.patch
+}
+
+src_compile() {
+ emake \
+ $(use debug && echo 'DEBUG=1') \
+ || die "emake failed"
+}
+
+src_install() {
+ insinto /usr/include
+ doins ibpp.h || die "doins failed"
+ cd $(if use debug ; then echo debug ; else echo release ; fi)/linux || die
+ dolib.so libibpp.so || die "dolib.so failed"
+ dolib.a libibpp.a || die "dolib.a failed"
+}
diff --git a/profiles/categories b/profiles/categories
index e9c4b4d..79ca428 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,5 +1,6 @@
app-text
dev-db
+dev-libs
dev-perl
sys-apps
www-misc