summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed Ammar <b33fc0d3@gentoo.org>2009-01-13 12:28:56 +0000
committerAhmed Ammar <b33fc0d3@gentoo.org>2009-01-13 12:28:56 +0000
commitc5f4fb5c06d7d8bacf9de4f7ab41c15010180587 (patch)
tree8bb80204eb14eb8fd0e7b2023d0cd79d5d6f57b7 /dev-cpp/IceE
parentgpodder bump (diff)
downloadgentoo-2-c5f4fb5c06d7d8bacf9de4f7ab41c15010180587.tar.gz
gentoo-2-c5f4fb5c06d7d8bacf9de4f7ab41c15010180587.tar.bz2
gentoo-2-c5f4fb5c06d7d8bacf9de4f7ab41c15010180587.zip
New ebuild for IceE (Embedded). Ebuild written by b33fc0d3.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-rc9 i686)
Diffstat (limited to 'dev-cpp/IceE')
-rw-r--r--dev-cpp/IceE/ChangeLog12
-rw-r--r--dev-cpp/IceE/IceE-1.3.0.ebuild55
-rw-r--r--dev-cpp/IceE/files/IceE-1.3.0-gcc4.3-fix.patch10
-rw-r--r--dev-cpp/IceE/files/IceE-1.3.0-makefile-2.patch11
-rw-r--r--dev-cpp/IceE/files/IceE-1.3.0-makefile.patch32
-rw-r--r--dev-cpp/IceE/files/IceE-1.3.0-maverick-fix.patch12
-rw-r--r--dev-cpp/IceE/metadata.xml11
7 files changed, 143 insertions, 0 deletions
diff --git a/dev-cpp/IceE/ChangeLog b/dev-cpp/IceE/ChangeLog
new file mode 100644
index 000000000000..a7cfcbfc2879
--- /dev/null
+++ b/dev-cpp/IceE/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-cpp/IceE
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/IceE/ChangeLog,v 1.1 2009/01/13 12:28:56 b33fc0d3 Exp $
+
+*IceE-1.3.0 (13 Jan 2009)
+
+ 13 Jan 2009; Ahmed Ammar <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/dev-cpp/IceE/IceE-1.3.0.ebuild b/dev-cpp/IceE/IceE-1.3.0.ebuild
new file mode 100644
index 000000000000..bd2549058380
--- /dev/null
+++ b/dev-cpp/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/dev-cpp/IceE/IceE-1.3.0.ebuild,v 1.1 2009/01/13 12:28:56 b33fc0d3 Exp ${P}.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}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${P}-makefile-2.patch"
+ epatch "${FILESDIR}/${P}-gcc4.3-fix.patch"
+ epatch "${FILESDIR}/${P}-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/dev-cpp/IceE/files/IceE-1.3.0-gcc4.3-fix.patch b/dev-cpp/IceE/files/IceE-1.3.0-gcc4.3-fix.patch
new file mode 100644
index 000000000000..dc3a526d282a
--- /dev/null
+++ b/dev-cpp/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/dev-cpp/IceE/files/IceE-1.3.0-makefile-2.patch b/dev-cpp/IceE/files/IceE-1.3.0-makefile-2.patch
new file mode 100644
index 000000000000..ed43ece15c5a
--- /dev/null
+++ b/dev-cpp/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/dev-cpp/IceE/files/IceE-1.3.0-makefile.patch b/dev-cpp/IceE/files/IceE-1.3.0-makefile.patch
new file mode 100644
index 000000000000..912730bebd2d
--- /dev/null
+++ b/dev-cpp/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/dev-cpp/IceE/files/IceE-1.3.0-maverick-fix.patch b/dev-cpp/IceE/files/IceE-1.3.0-maverick-fix.patch
new file mode 100644
index 000000000000..96572d738f86
--- /dev/null
+++ b/dev-cpp/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/dev-cpp/IceE/metadata.xml b/dev-cpp/IceE/metadata.xml
new file mode 100644
index 000000000000..8d1f45275d9e
--- /dev/null
+++ b/dev-cpp/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>
+