diff options
author | Chris White <chriswhite@gentoo.org> | 2006-01-18 23:58:11 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2006-01-18 23:58:11 +0000 |
commit | abb92b4d8a0ad11ea7c44897df904cbae422fc85 (patch) | |
tree | a421022cd55767cf73cdbaaa8e1e28ebb0d52d5c /dev-libs | |
parent | Fix modular X deps. (diff) | |
download | gentoo-2-abb92b4d8a0ad11ea7c44897df904cbae422fc85.tar.gz gentoo-2-abb92b4d8a0ad11ea7c44897df904cbae422fc85.tar.bz2 gentoo-2-abb92b4d8a0ad11ea7c44897df904cbae422fc85.zip |
Initial import into the tree. Masked because of sys-libs/db depend.
([stable x86 chroot] Portage version: 2.0.53)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ice/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/ice/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/ice/files/digest-ice-3.0.0 | 1 | ||||
-rw-r--r-- | dev-libs/ice/files/ice-3.0.0-makefile.patch | 31 | ||||
-rw-r--r-- | dev-libs/ice/ice-3.0.0.ebuild | 73 | ||||
-rw-r--r-- | dev-libs/ice/metadata.xml | 13 |
6 files changed, 133 insertions, 0 deletions
diff --git a/dev-libs/ice/ChangeLog b/dev-libs/ice/ChangeLog new file mode 100644 index 000000000000..71fec297f777 --- /dev/null +++ b/dev-libs/ice/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/ice +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ice/ChangeLog,v 1.1 2006/01/18 23:58:11 chriswhite Exp $ + +*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-libs/ice/Manifest b/dev-libs/ice/Manifest new file mode 100644 index 000000000000..5db373d69f6b --- /dev/null +++ b/dev-libs/ice/Manifest @@ -0,0 +1,5 @@ +MD5 1898a9d500e00f368b673a16934e5a5a ChangeLog 331 +MD5 5643b69002aaa0bd00051022b1b087aa files/digest-ice-3.0.0 62 +MD5 f08ded55b5f9bda1268069680b44623c files/ice-3.0.0-makefile.patch 798 +MD5 78a519b5c97d71be809146e9c85860ed ice-3.0.0.ebuild 1509 +MD5 89c7fbb98eae7d62ddd1c72e6d4e2ca5 metadata.xml 360 diff --git a/dev-libs/ice/files/digest-ice-3.0.0 b/dev-libs/ice/files/digest-ice-3.0.0 new file mode 100644 index 000000000000..90b5a45b57f2 --- /dev/null +++ b/dev-libs/ice/files/digest-ice-3.0.0 @@ -0,0 +1 @@ +MD5 e8401842669d08baf152ea8edb595a11 Ice-3.0.0.tar.gz 1833278 diff --git a/dev-libs/ice/files/ice-3.0.0-makefile.patch b/dev-libs/ice/files/ice-3.0.0-makefile.patch new file mode 100644 index 000000000000..f55d5ca52125 --- /dev/null +++ b/dev-libs/ice/files/ice-3.0.0-makefile.patch @@ -0,0 +1,31 @@ +--- config/Make.rules.old 2006-01-19 06:03:32.000000000 +0900 ++++ config/Make.rules 2006-01-19 06:02:52.000000000 +0900 +@@ -12,7 +12,7 @@ + # if it does not exist. + # + +-prefix = /opt/Ice-$(VERSION) ++prefix = $(DESTDIR)/opt/Ice-$(VERSION) + + # + # Define OPTIMIZE as yes if you want to build with +--- Makefile.old 2006-01-19 05:24:42.000000000 +0900 ++++ Makefile 2006-01-19 07:08:27.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 diff --git a/dev-libs/ice/ice-3.0.0.ebuild b/dev-libs/ice/ice-3.0.0.ebuild new file mode 100644 index 000000000000..0dc776156660 --- /dev/null +++ b/dev-libs/ice/ice-3.0.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ice/ice-3.0.0.ebuild,v 1.1 2006/01/18 23:58:11 chriswhite 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="" +RDEPEND=">=sys-libs/db-4.3.29 + >=dev-libs/expat-1.9 + >=dev-libs/openssl-0.9.7 + >=app-arch/bzip2-1.0 + readline? ( sys-libs/ncurses + sys-libs/readline ) + test? ( >=dev-lang/python-2.2 )" + +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}" + + 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 + + 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 + + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake || die "Make failed." +} + +src_test() { + make test || die "Test failed!" +} + +src_install() { + make DESTDIR="${D}" install || die "Install Failed!" + +cat <<- EOF > ${S}/50-${PN} + LDPATH="/opt/${MY_P}/$(get_libdir)" + ROOTPATH="/opt/${MY_P}/bin" + PATH="/opt/${MY_P}/bin" +EOF + doenvd ${S}/50-${PN} +} diff --git a/dev-libs/ice/metadata.xml b/dev-libs/ice/metadata.xml new file mode 100644 index 000000000000..a3d657d4d701 --- /dev/null +++ b/dev-libs/ice/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd></herd> +<maintainer> +<email>chriswhite@gentoo.org</email> +<name>Chris White</name> +</maintainer> +<longdescription lang="en"> +Ice is a C++ middleware technology with bindings for other languages. +</longdescription> +</pkgmetadata> + |