summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed Ammar <b33fc0d3@gentoo.org>2009-01-07 15:24:59 +0000
committerAhmed Ammar <b33fc0d3@gentoo.org>2009-01-07 15:24:59 +0000
commit314b8c489de18923e14aa40a15449b820ba87576 (patch)
tree4e5f51e0a6f526dfe07f8cbd9eb2b80a52e93d34 /net-libs
parentMarking activeresource-2.2.2 ppc64 for bug 253425 (diff)
downloadgentoo-2-314b8c489de18923e14aa40a15449b820ba87576.tar.gz
gentoo-2-314b8c489de18923e14aa40a15449b820ba87576.tar.bz2
gentoo-2-314b8c489de18923e14aa40a15449b820ba87576.zip
New ebuild for IceE (Embedded) Communications Engine.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-rc9 i686)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/icee/ChangeLog12
-rw-r--r--net-libs/icee/files/icee-1.3.0-gcc4.3-fix.patch10
-rw-r--r--net-libs/icee/files/icee-1.3.0-makefile-2.patch11
-rw-r--r--net-libs/icee/files/icee-1.3.0-makefile.patch32
-rw-r--r--net-libs/icee/files/icee-1.3.0-maverick-fix.patch12
-rw-r--r--net-libs/icee/icee-1.3.0.ebuild55
-rw-r--r--net-libs/icee/metadata.xml11
7 files changed, 143 insertions, 0 deletions
diff --git a/net-libs/icee/ChangeLog b/net-libs/icee/ChangeLog
new file mode 100644
index 000000000000..1070bd64061b
--- /dev/null
+++ b/net-libs/icee/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-libs/icee
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/icee/ChangeLog,v 1.1 2009/01/07 15:24:59 b33fc0d3 Exp $
+
+*icee-1.3.0 (07 Jan 2009)
+
+ 07 Jan 2009; Ahmed Ammar <aammar@edge-techno.com> <b33fc0d3@gentoo.org>
+ +files/icee-1.3.0-gcc4.3-fix.patch, +files/icee-1.3.0-makefile.patch,
+ +files/icee-1.3.0-makefile-2.patch, +files/icee-1.3.0-maverick-fix.patch,
+ +metadata.xml, +icee-1.3.0.ebuild:
+ New ebuild for IceE (Embedded). Ebuild written by b33fc0d3.
+
diff --git a/net-libs/icee/files/icee-1.3.0-gcc4.3-fix.patch b/net-libs/icee/files/icee-1.3.0-gcc4.3-fix.patch
new file mode 100644
index 000000000000..dc3a526d282a
--- /dev/null
+++ b/net-libs/icee/files/icee-1.3.0-gcc4.3-fix.patch
@@ -0,0 +1,10 @@
+--- ./IceE-1.3.0/cppe/include/IceE/Time.h.orig 2008-12-29 10:45:43.000000000 +0200
++++ ./IceE-1.3.0/cppe/include/IceE/Time.h 2008-12-29 10:46:00.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ #include <IceE/Config.h>
+ #include <ostream>
++#include <sys/time.h>
+
+ namespace IceUtil
+ {
diff --git a/net-libs/icee/files/icee-1.3.0-makefile-2.patch b/net-libs/icee/files/icee-1.3.0-makefile-2.patch
new file mode 100644
index 000000000000..ed43ece15c5a
--- /dev/null
+++ b/net-libs/icee/files/icee-1.3.0-makefile-2.patch
@@ -0,0 +1,11 @@
+--- ./IceE-1.3.0/cppe/Makefile.orig 2008-12-29 11:13:32.000000000 +0200
++++ ./IceE-1.3.0/cppe/Makefile 2008-12-29 11:13:39.000000000 +0200
+@@ -11,7 +11,7 @@
+
+ include $(top_srcdir)/config/Make.rules
+
+-SUBDIRS = src include test demo
++SUBDIRS = src include
+
+ INSTALL_SUBDIRS = $(install_bindir) $(install_libdir) $(install_includedir)
+
diff --git a/net-libs/icee/files/icee-1.3.0-makefile.patch b/net-libs/icee/files/icee-1.3.0-makefile.patch
new file mode 100644
index 000000000000..912730bebd2d
--- /dev/null
+++ b/net-libs/icee/files/icee-1.3.0-makefile.patch
@@ -0,0 +1,32 @@
+--- ./IceE-1.3.0/cppe/config/Make.rules.orig 2008-12-29 10:37:03.000000000 +0200
++++ ./IceE-1.3.0/cppe/config/Make.rules 2008-12-29 10:40:16.000000000 +0200
+@@ -12,8 +12,7 @@
+ # if it does not exist.
+ #
+
+-prefix = /opt/IceE-$(VERSION)
+-
++prefix = DESTDIR_PLACE_HOLDER
+ #
+ # Define OPTIMIZE_SIZE as yes if you want to build with minimal size.
+ # Define OPTIMIZE_SPEED as yes if you want to build with maximum speed.
+@@ -21,7 +20,7 @@
+ # If neither is set, IceE is built with debug information.
+ #
+
+-#OPTIMIZE_SIZE = yes
++OPTIMIZE_SIZE = yes
+ #OPTIMIZE_SPEED = yes
+
+ #
+--- ./IceE-1.3.0/cppe/config/Make.rules.Linux.orig 2008-12-29 10:39:52.000000000 +0200
++++ ./IceE-1.3.0/cppe/config/Make.rules.Linux 2008-12-29 10:40:02.000000000 +0200
+@@ -65,7 +65,7 @@
+ lp64suffix = 64
+ endif
+
+-CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT
++CXXFLAGS += $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT
+
+ ifneq ($(GUMSTIX),yes)
+ CXXFLAGS += -I/usr/include/nptl
diff --git a/net-libs/icee/files/icee-1.3.0-maverick-fix.patch b/net-libs/icee/files/icee-1.3.0-maverick-fix.patch
new file mode 100644
index 000000000000..96572d738f86
--- /dev/null
+++ b/net-libs/icee/files/icee-1.3.0-maverick-fix.patch
@@ -0,0 +1,12 @@
+--- ./IceE-1.3.0/cppe/config/Make.rules.orig 2008-12-29 11:03:46.000000000 +0200
++++ ./IceE-1.3.0/cppe/config/Make.rules 2008-12-29 11:05:59.000000000 +0200
+@@ -185,6 +185,9 @@
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
++ThreadPool.o:
++ $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -msoft-float $<
++
+ %C.o: %.o %.cpp
+ $(CXX) -c -DICEE_PURE_CLIENT -o $(*F)C.o $(CPPFLAGS) $(CXXFLAGS) $(*F).cpp
+
diff --git a/net-libs/icee/icee-1.3.0.ebuild b/net-libs/icee/icee-1.3.0.ebuild
new file mode 100644
index 000000000000..8b5c0b93e453
--- /dev/null
+++ b/net-libs/icee/icee-1.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/icee/icee-1.3.0.ebuild,v 1.1 2009/01/07 15:24:59 b33fc0d3 Exp $
+
+inherit eutils mono multilib toolchain-funcs
+
+DESCRIPTION="The Internet Communications Engine (Ice) is a modern object-oriented middleware with support for C++, .NET, Java, Python, Ruby, and PHP"
+HOMEPAGE="http://www.zeroc.com/icee/index.html"
+SRC_URI="http://www.zeroc.com/download/IceE/${PV/\.0//}/IceE-${PV}-linux.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~x86"
+IUSE="mono"
+
+DEPEND=">=sys-libs/db-4.6.21
+ >=dev-libs/expat-1.95.7
+ >=app-arch/bzip2-1.0.0"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/IceE-${PV}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/icee-1.3.0-makefile.patch"
+ epatch "${FILESDIR}/icee-1.3.0-makefile-2.patch"
+ epatch "${FILESDIR}/icee-1.3.0-gcc4.3-fix.patch"
+ epatch "${FILESDIR}/icee-1.3.0-maverick-fix.patch"
+
+}
+
+src_compile() {
+ if tc-is-cross-compiler ; then
+ export CXX="${CHOST}-g++"
+ export AR="${CHOST}-ar"
+ fi
+
+ sed -i "s/DESTDIR_PLACE_HOLDER/${D//\//\\/}\/usr/" cppe/config/Make.rules
+
+ emake configure || 'emake configure failed'
+ emake || die 'emake failed'
+}
+
+src_install() {
+ dodir /usr/share/${PN}
+
+ emake install || die 'emake install failed'
+
+ cd "${D}"/usr
+ rm -rf LICENSE ICEE_LICENSE
+ tc-is-cross-compiler && rm bin/slice2cppe
+
+ mv "${D}"/usr/slice "${D}"/usr/share/${PN}
+}
diff --git a/net-libs/icee/metadata.xml b/net-libs/icee/metadata.xml
new file mode 100644
index 000000000000..8d1f45275d9e
--- /dev/null
+++ b/net-libs/icee/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>b33fc0d3@gentoo.org</email>
+ <name>Ahmed Ammar</name>
+ </maintainer>
+<longdescription lang="en">The Internet Communications Engine (Ice) is a modern object-oriented middleware with support for C++, .NET, Java, Python, Ruby, and PHP</longdescription>
+</pkgmetadata>
+