summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-01-19 15:35:47 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-01-19 15:35:47 +0000
commit9fa00f8212dc5534e9ed4c07c53d69f462f59122 (patch)
tree3be1ffd7342975a66099d4299faee6a16b76aabe /dev-cpp/ice
parentdev-libs/ice -> dev-cpp/ice (diff)
downloadhistorical-9fa00f8212dc5534e9ed4c07c53d69f462f59122.tar.gz
historical-9fa00f8212dc5534e9ed4c07c53d69f462f59122.tar.bz2
historical-9fa00f8212dc5534e9ed4c07c53d69f462f59122.zip
Moved package from dev-libs/cpp and bumped with new rev
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-cpp/ice')
-rw-r--r--dev-cpp/ice/ChangeLog16
-rw-r--r--dev-cpp/ice/Manifest5
-rw-r--r--dev-cpp/ice/files/digest-ice-3.0.0-r11
-rw-r--r--dev-cpp/ice/files/ice-3.0.0-makefile.patch54
-rw-r--r--dev-cpp/ice/ice-3.0.0-r1.ebuild61
-rw-r--r--dev-cpp/ice/metadata.xml32
6 files changed, 169 insertions, 0 deletions
diff --git a/dev-cpp/ice/ChangeLog b/dev-cpp/ice/ChangeLog
new file mode 100644
index 000000000000..50a0f9d35b0a
--- /dev/null
+++ b/dev-cpp/ice/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for dev-libs/ice
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ice/ChangeLog,v 1.1 2006/01/19 15:35:47 caleb Exp $
+
+*ice-3.0.0-r1 (19 Jan 2006)
+
+ 19 Jan 2006; Caleb Tennis <caleb@gentoo.org>
+ +files/ice-3.0.0-makefile.patch, +metadata.xml, +ice-3.0.0-r1.ebuild:
+ Moved package from dev-libs/cpp and bumped with new rev
+
+*ice-3.0.0 (18 Jan 2006)
+
+ 18 Jan 2006; Chris White <chriswhite@gentoo.org>
+ +files/ice-3.0.0-makefile.patch, +metadata.xml, +ice-3.0.0.ebuild:
+ Initial import into the tree. Masked because of sys-libs/db depend.
+
diff --git a/dev-cpp/ice/Manifest b/dev-cpp/ice/Manifest
new file mode 100644
index 000000000000..24b9cef58b5b
--- /dev/null
+++ b/dev-cpp/ice/Manifest
@@ -0,0 +1,5 @@
+MD5 814515bb5530350346e79f10f3b45c33 ChangeLog 620
+MD5 5643b69002aaa0bd00051022b1b087aa files/digest-ice-3.0.0-r1 62
+MD5 c8d682f5487fe005ed4a2bd2efcbe79b files/ice-3.0.0-makefile.patch 1412
+MD5 fcbf362bfee7b92a5c09e51ee48f0088 ice-3.0.0-r1.ebuild 1485
+MD5 fa56365fdfb0c6f7e71fe6bbae6e26b2 metadata.xml 1168
diff --git a/dev-cpp/ice/files/digest-ice-3.0.0-r1 b/dev-cpp/ice/files/digest-ice-3.0.0-r1
new file mode 100644
index 000000000000..90b5a45b57f2
--- /dev/null
+++ b/dev-cpp/ice/files/digest-ice-3.0.0-r1
@@ -0,0 +1 @@
+MD5 e8401842669d08baf152ea8edb595a11 Ice-3.0.0.tar.gz 1833278
diff --git a/dev-cpp/ice/files/ice-3.0.0-makefile.patch b/dev-cpp/ice/files/ice-3.0.0-makefile.patch
new file mode 100644
index 000000000000..bcf2487656c2
--- /dev/null
+++ b/dev-cpp/ice/files/ice-3.0.0-makefile.patch
@@ -0,0 +1,54 @@
+--- config/Make.rules.old 2006-01-19 21:47:21.000000000 +0900
++++ config/Make.rules 2006-01-19 14:13:37.000000000 +0900
+@@ -12,7 +12,7 @@
+ # if it does not exist.
+ #
+
+-prefix = /opt/Ice-$(VERSION)
++prefix = $(DESTDIR)/usr
+
+ #
+ # Define OPTIMIZE as yes if you want to build with
+@@ -154,9 +154,9 @@
+ endif
+
+ install_includedir = $(prefix)/include
+-install_slicedir = $(prefix)/slice
++install_slicedir = $(prefix)/share/ice-$(VERSION)/slice
+ install_schemadir = $(prefix)/schema
+-install_docdir = $(prefix)/doc
++install_docdir = $(prefix)/share/doc/ice-$(VERSION)
+
+ INSTALL = cp -fp
+ INSTALL_PROGRAM = ${INSTALL}
+--- Makefile.old 2006-01-19 05:24:42.000000000 +0900
++++ Makefile 2006-01-19 13:37:03.000000000 +0900
+@@ -19,7 +19,7 @@
+ @if test ! -d $(prefix) ; \
+ then \
+ echo "Creating $(prefix)..." ; \
+- $(call mkdir,$(prefix)) ; \
++ mkdir -p $(prefix) ; \
+ fi
+
+ @for subdir in $(INSTALL_SUBDIRS); \
+@@ -27,7 +27,7 @@
+ if test ! -d $$subdir ; \
+ then \
+ echo "Creating $$subdir..." ; \
+- mkdir $$subdir ; \
++ mkdir -p $$subdir ; \
+ chmod a+rx $$subdir ; \
+ fi ; \
+ done
+@@ -47,8 +47,8 @@
+ then \
+ ( cd doc && $(MAKE) install ) || exit 1 ; \
+ fi
+- $(call installdata,ICE_LICENSE,$(prefix))
+- $(call installdata,LICENSE,$(prefix))
++ $(call install_docdir,ICE_LICENSE,$(prefix))
++ $(call install_docdir,LICENSE,$(prefix))
+
+ clean::
+ @if test -d doc ; \
diff --git a/dev-cpp/ice/ice-3.0.0-r1.ebuild b/dev-cpp/ice/ice-3.0.0-r1.ebuild
new file mode 100644
index 000000000000..679da52dae5e
--- /dev/null
+++ b/dev-cpp/ice/ice-3.0.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ice/ice-3.0.0-r1.ebuild,v 1.1 2006/01/19 15:35:47 caleb Exp $
+
+inherit eutils
+
+MY_P=${PN/i/I}-${PV}
+
+DESCRIPTION="ICE middleware C++ bindings"
+HOMEPAGE="http://www.zeroc.com/index.html"
+SRC_URI="http://www.zeroc.com/download/Ice/3.0/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="readline test"
+
+DEPEND="readline? ( sys-libs/ncurses
+ sys-libs/readline )
+ test? ( >=dev-lang/python-2.2 )
+ >=sys-libs/db-4.3.29
+ >=dev-libs/openssl-0.9.7"
+RDEPEND=">=dev-libs/expat-1.9
+ >=app-arch/bzip2-1.0"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ built_with_use db nocxx && die "DB must be compiled with C++ support!"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-makefile.patch
+
+ if use amd64; then
+ sed -i -e "s:^#LP64:LP64:g" ${S}/config/Make.rules \
+ || die "Failed to set lib64 directory"
+ fi
+
+ if ! use readline; then
+ sed -i -e "s# USE_READLINE.*# USE_READLINE := no#g" \
+ ${S}/config/Make.rules || die "Failed to set no readline"
+ fi
+
+ sed -i -e \
+ "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \
+ ${S}/config/Make.rules.Linux || die "CXXFLAGS patching failed!"
+
+ for files in ${S}/src/Freeze*/*.{h,cpp}
+ do
+ sed -i -e "s:db_cxx\.h:db4.3/db_cxx\.h:g" \
+ ${files} || die "Failed to patch db headers."
+ done
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Install Failed!"
+}
diff --git a/dev-cpp/ice/metadata.xml b/dev-cpp/ice/metadata.xml
new file mode 100644
index 000000000000..9bd492cbf0f4
--- /dev/null
+++ b/dev-cpp/ice/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The dev-libs category contains various miscellaneous programming
+ libraries.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie dev-libs enthält verschiedenste Programmierbibliotheken.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría dev-libs contiene varias librerías mixtas
+ para programación.
+ </longdescription>
+ <longdescription lang="ja">
+ dev-libsカテゴリーには多種多様なプログラミング・ライブラリが含まれます。
+ </longdescription>
+ <longdescription lang="nl">
+ De dev-libs categorie bevat verschillende bibliotheken die het
+ programmeren ondersteunen.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm dev-libs chứa các thư viện lập trình khác nhau.
+ </longdescription>
+ <longdescription lang="sk">
+ Kategória dev-libs obsahuje rôzne programovacie knižnice.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria dev-libs contiene varie librerie per la programmazione.
+ </longdescription>
+</catmetadata>
+