diff options
-rw-r--r-- | dev-cpp/IceE/ChangeLog | 12 | ||||
-rw-r--r-- | dev-cpp/IceE/IceE-1.3.0.ebuild | 55 | ||||
-rw-r--r-- | dev-cpp/IceE/Manifest | 8 | ||||
-rw-r--r-- | dev-cpp/IceE/files/IceE-1.3.0-gcc4.3-fix.patch | 10 | ||||
-rw-r--r-- | dev-cpp/IceE/files/IceE-1.3.0-makefile-2.patch | 11 | ||||
-rw-r--r-- | dev-cpp/IceE/files/IceE-1.3.0-makefile.patch | 32 | ||||
-rw-r--r-- | dev-cpp/IceE/files/IceE-1.3.0-maverick-fix.patch | 12 | ||||
-rw-r--r-- | dev-cpp/IceE/metadata.xml | 11 |
8 files changed, 151 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/Manifest b/dev-cpp/IceE/Manifest new file mode 100644 index 000000000000..c0d8aaae0127 --- /dev/null +++ b/dev-cpp/IceE/Manifest @@ -0,0 +1,8 @@ +AUX IceE-1.3.0-gcc4.3-fix.patch 274 RMD160 5e261a219f70388c4f88fbd13df8105a0aa9b596 SHA1 993c7a8ad00ff25697f3d191964ad1b3528e95d2 SHA256 23ea3139b98000cbdea1cbd026e0f97ac820923df39a43be50e131b4a6c85248 +AUX IceE-1.3.0-makefile-2.patch 341 RMD160 233e6cbfc48cbbd1c92a5a2361704c9aadd68781 SHA1 a82665762c195f4320154e95f0b301cbc7d690c0 SHA256 e8e53590ccaf9a401a83a04c9e9dc9349df3de80858a4fc928418c6deb13c36c +AUX IceE-1.3.0-makefile.patch 992 RMD160 517a54ac409610ee32dfb04a3960fd1b4618d127 SHA1 b8e02782fd3e73277aad2d9b5023c0ca53e3f235 SHA256 fdf74e0e20dba70f081c8941ea75460df9b13e8a54f481d607ea05887f32c55b +AUX IceE-1.3.0-maverick-fix.patch 387 RMD160 ae11cacfe01ca3c2d756d9150e3c84066113e9ad SHA1 eace241a3aa81008d0ceb612f3b4f74cdc6e9f78 SHA256 4fb6183e0246d1cb35d0d54f918955ec416cc39041a59610ebb81c34cf429661 +DIST IceE-1.3.0-linux.tar.gz 1252216 RMD160 684ec83b7094d3b9f36e374512385032d2fa8642 SHA1 1a5efaedeac66bebd41024733de9e768dfced746 SHA256 5dd6d608782fe5afce18a571f275535b3e1d70663a6d358f908ca178bf7cd356 +EBUILD IceE-1.3.0.ebuild 1468 RMD160 b98fccb049299410df7e4f05776c8903bcc2b4fe SHA1 74ba8691cb3ff3da53815716072f75eaa9cb498b SHA256 168d9b4de5ba8331e184007d0ad277cb68a6be5c2c2be83a71540ca9e37db133 +MISC ChangeLog 523 RMD160 723c68dfb284356fcb21beac103061b914ab1304 SHA1 96b99d015b8520980be96103c2212f18f1d42771 SHA256 c817a2c927d6955882ef6a140d9e493e85c7571dc3569fb3ccc0ae450109d780 +MISC metadata.xml 435 RMD160 058fb30fbddf10dc46ad6f64752785e3b0b4283f SHA1 13353f217ae69c023836d6e2c1884e370aad483c SHA256 0f518cf688f412a09cf5be9f0b34ae353da17796f8dddf9425a473c7bde02957 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> + |