diff options
author | 2006-07-13 01:13:39 +0000 | |
---|---|---|
committer | 2006-07-13 01:13:39 +0000 | |
commit | 966d4af0c80a189e767a37ca99a77b28fa26e836 (patch) | |
tree | b2bdcf28e1f4b45a60cdc6022389d748aabce7f8 | |
parent | Mark 1.3.1 stable on ia64. #138323 (diff) | |
download | gentoo-2-966d4af0c80a189e767a37ca99a77b28fa26e836.tar.gz gentoo-2-966d4af0c80a189e767a37ca99a77b28fa26e836.tar.bz2 gentoo-2-966d4af0c80a189e767a37ca99a77b28fa26e836.zip |
New version
(Portage version: 2.1.1_pre2-r6)
-rw-r--r-- | dev-cpp/ice/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/ice/files/digest-ice-3.1.0 | 3 | ||||
-rw-r--r-- | dev-cpp/ice/files/ice-3.1.0-makefile.patch | 56 | ||||
-rw-r--r-- | dev-cpp/ice/ice-3.1.0.ebuild | 62 |
4 files changed, 128 insertions, 1 deletions
diff --git a/dev-cpp/ice/ChangeLog b/dev-cpp/ice/ChangeLog index 713c9b4d9a1c..6def47eed49e 100644 --- a/dev-cpp/ice/ChangeLog +++ b/dev-cpp/ice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/ice # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ice/ChangeLog,v 1.6 2006/05/01 00:28:18 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ice/ChangeLog,v 1.7 2006/07/13 01:13:39 caleb Exp $ + +*ice-3.1.0 (13 Jul 2006) + + 13 Jul 2006; Caleb Tennis <caleb@gentoo.org> + +files/ice-3.1.0-makefile.patch, +ice-3.1.0.ebuild: + new version 01 May 2006; Chris White <chriswhite@gentoo.org> ice-3.0.1.ebuild: Slotted depend for bug #131554. Thanks to Tiziano Muller for reporting. diff --git a/dev-cpp/ice/files/digest-ice-3.1.0 b/dev-cpp/ice/files/digest-ice-3.1.0 new file mode 100644 index 000000000000..ba729b9d94a3 --- /dev/null +++ b/dev-cpp/ice/files/digest-ice-3.1.0 @@ -0,0 +1,3 @@ +MD5 f37f7c6c1de570a5782f61430557ef4e Ice-3.1.0.tar.gz 2110940 +RMD160 e65fd990a77938d8e35b425cf9e6cc59a912a3ee Ice-3.1.0.tar.gz 2110940 +SHA256 c2de63f99d881ce0229f5cc10e0936f2bb4e7257a74220f5eec74712425f7ac4 Ice-3.1.0.tar.gz 2110940 diff --git a/dev-cpp/ice/files/ice-3.1.0-makefile.patch b/dev-cpp/ice/files/ice-3.1.0-makefile.patch new file mode 100644 index 000000000000..99e17554782e --- /dev/null +++ b/dev-cpp/ice/files/ice-3.1.0-makefile.patch @@ -0,0 +1,56 @@ +--- Makefile.orig 2006-01-25 16:25:45.000000000 -0500 ++++ Makefile 2006-01-25 16:28:04.000000000 -0500 +@@ -19,7 +19,7 @@ + @if test ! -d $(prefix) ; \ + then \ + echo "Creating $(prefix)..." ; \ +- $(call mkdir,$(prefix)) ; \ ++ mkdir -p $(prefix) ; \ + fi + + @for subdir in $(INSTALL_SUBDIRS); \ +@@ -47,8 +47,8 @@ + then \ + ( cd doc && $(MAKE) install ) || exit 1 ; \ + fi +- $(call installdata,ICE_LICENSE,$(prefix)) +- $(call installdata,LICENSE,$(prefix)) ++ $(call installdata,ICE_LICENSE,$(install_docdir)) ++ $(call installdata,LICENSE,$(install_docdir)) + + clean:: + @if test -d doc ; \ +--- config/Make.rules.old 2006-07-12 12:47:30.000000000 -0400 ++++ config/Make.rules 2006-07-12 19:02:18.000000000 -0400 +@@ -11,7 +11,7 @@ + # Select an installation base directory. The directory will be created + # if it does not exist. + # +-prefix ?= /opt/Ice-$(VERSION) ++prefix ?= $(DESTDIR)/usr + + # + # When creating an executable, shall we add install_libdir to the +@@ -122,9 +122,9 @@ + install_bindir = $(prefix)/bin + + 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} +@@ -166,8 +166,8 @@ + BZIP2_LIBS = $(if $(BZIP2_HOME),-L$(BZIP2_HOME)/$(libsubdir)) -lbz2 + BZIP2_RPATH_LINK = $(if $(BZIP2_HOME),$(call rpathlink,$(BZIP2_HOME)/$(libsubdir))) + +-DB_FLAGS = $(if $(DB_HOME),-I$(DB_HOME)/include) +-DB_LIBS = $(if $(DB_HOME),-L$(DB_HOME)/$(libsubdir)) -ldb_cxx ++DB_FLAGS = -I/usr/include/db4.3 ++DB_LIBS = -ldb_cxx-4.3 + DB_RPATH_LINK = $(if $(DB_HOME),$(call rpathlink,$(DB_HOME)/$(libsubdir))) + + EXPAT_FLAGS = $(if $(EXPAT_HOME),-I$(EXPAT_HOME)/include) diff --git a/dev-cpp/ice/ice-3.1.0.ebuild b/dev-cpp/ice/ice-3.1.0.ebuild new file mode 100644 index 000000000000..7854fb6c18ad --- /dev/null +++ b/dev-cpp/ice/ice-3.1.0.ebuild @@ -0,0 +1,62 @@ +# 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.1.0.ebuild,v 1.1 2006/07/13 01:13:39 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.1/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ncurses test debug" + +DEPEND="ncurses? ( 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 sys-libs/db nocxx && die "DB must be compiled with C++ support!" +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-makefile.patch + mkdir bin + mkdir lib + + if use amd64; then + sed -i -e "s:^#LP64:LP64:g" ${S}/config/Make.rules \ + || die "Failed to set lib64 directory" + fi + + if ! use ncurses; then + sed -i -e "s# USE_READLINE.*# USE_READLINE := no#g" \ + ${S}/config/Make.rules || die "Failed to set no readline" + fi + + if ! use debug; then + sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \ + ${S}/config/Make.rules || die "Failed to remove debug" + fi + + sed -i -e \ + "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \ + ${S}/config/Make.rules.Linux || die "CXXFLAGS patching failed!" +} + +src_install() { + make DESTDIR="${D}" install || die "Install Failed!" +} |