summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGérald Fenoy <djay@gentoo.org>2006-10-17 15:02:56 +0000
committerGérald Fenoy <djay@gentoo.org>2006-10-17 15:02:56 +0000
commit67af6005a03c4e4a8f3d0a0b852f644c9b3b4b7b (patch)
treeb10d878f2960d92120d078d7d51dfc89848c93a9
parentAdd ~x86-fbsd keyword (diff)
downloadgentoo-2-67af6005a03c4e4a8f3d0a0b852f644c9b3b4b7b.tar.gz
gentoo-2-67af6005a03c4e4a8f3d0a0b852f644c9b3b4b7b.tar.bz2
gentoo-2-67af6005a03c4e4a8f3d0a0b852f644c9b3b4b7b.zip
Moved from sci-libs/core to sci-libs/libcore.
-rw-r--r--sci-libs/libcore/ChangeLog16
-rw-r--r--sci-libs/libcore/Manifest30
-rw-r--r--sci-libs/libcore/files/digest-libcore-1.73
-rw-r--r--sci-libs/libcore/files/libcore-1.7.patch107
-rw-r--r--sci-libs/libcore/libcore-1.7.ebuild54
-rw-r--r--sci-libs/libcore/metadata.xml5
6 files changed, 215 insertions, 0 deletions
diff --git a/sci-libs/libcore/ChangeLog b/sci-libs/libcore/ChangeLog
new file mode 100644
index 000000000000..6faa72dc5ca4
--- /dev/null
+++ b/sci-libs/libcore/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for sci-libs/core
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcore/ChangeLog,v 1.1 2006/10/17 15:02:56 djay Exp $
+
+*libcore-1.7 (17 Oct 2006)
+
+ 17 Oct 2006; <djay@gentoo.org> +files/libcore-1.7.patch, +metadata.xml,
+ +libcore-1.7.ebuild:
+ Moved from sci-libs/core to sci-libs/libcore.
+
+*core-1.7 (12 Oct 2006)
+
+ 12 Oct 2006; <djay@gentoo.org> +files/core-1.7.patch, +metadata.xml,
+ +core-1.7.ebuild:
+ Initial Import
+
diff --git a/sci-libs/libcore/Manifest b/sci-libs/libcore/Manifest
new file mode 100644
index 000000000000..b7acceed8afb
--- /dev/null
+++ b/sci-libs/libcore/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX core-1.7.patch 3595 RMD160 52ccff82afb6010576069a9a1b9b2e92b1a454db SHA1 93f094a434e68bdd380d723e21e9cd1c81d011d8 SHA256 5d9c34293c4e1f72fbf2eb1f691408e5e557837438f3b9a6f4dd5bd4e271b61a
+MD5 c108a3a5b91833d6228a28e59746b1d5 files/core-1.7.patch 3595
+RMD160 52ccff82afb6010576069a9a1b9b2e92b1a454db files/core-1.7.patch 3595
+SHA256 5d9c34293c4e1f72fbf2eb1f691408e5e557837438f3b9a6f4dd5bd4e271b61a files/core-1.7.patch 3595
+DIST core_v1.7x_std.tgz 2956734 RMD160 f7dd163f6c35e80a46deb2ec59870c644a139899 SHA1 c569fe706926ba337abe4c3b60a18c6fe03f6f02 SHA256 248723fdf85a6050b59509099942d6adf170d604dd6570d4c7afdcaa725bfbeb
+EBUILD core-1.7.ebuild 1501 RMD160 a10c01cef963f696d421721f70d14e4c2c41a3dc SHA1 2f0215c284e1ebdaa7eefe3de97fa518b5f871de SHA256 453a382f3b5c0ffb11e3ab09fc7a20e91d1abc10479532d5f1dfe3efd628535c
+MD5 7656b69150f6a6ffb7371f2cc68d21e2 core-1.7.ebuild 1501
+RMD160 a10c01cef963f696d421721f70d14e4c2c41a3dc core-1.7.ebuild 1501
+SHA256 453a382f3b5c0ffb11e3ab09fc7a20e91d1abc10479532d5f1dfe3efd628535c core-1.7.ebuild 1501
+MISC ChangeLog 331 RMD160 6551e4de51ebded2205f92d7c7fcae23a0bf576b SHA1 343d6178d26973743c8c94ad3baebd052f16c507 SHA256 8098162f553f89f727d5f800dc15b97ffb822b6606a33b471799c98114821ba8
+MD5 2b56625ecc152a7e5ec96eaac1316f32 ChangeLog 331
+RMD160 6551e4de51ebded2205f92d7c7fcae23a0bf576b ChangeLog 331
+SHA256 8098162f553f89f727d5f800dc15b97ffb822b6606a33b471799c98114821ba8 ChangeLog 331
+MISC metadata.xml 169 RMD160 e1db75ae5d177dffc400468c7d76a7e1fe41876d SHA1 0c953712f9b97d5ab3f95ae71997ffbc96c4007d SHA256 36837b011d26f0b83477c7a8632cb0099aedbcba5a3e45c61f20292e079f6180
+MD5 710d6aa631e09429775457ff1d26b14e metadata.xml 169
+RMD160 e1db75ae5d177dffc400468c7d76a7e1fe41876d metadata.xml 169
+SHA256 36837b011d26f0b83477c7a8632cb0099aedbcba5a3e45c61f20292e079f6180 metadata.xml 169
+MD5 869d2983e963f154f036a9603279dbb9 files/digest-core-1.7 238
+RMD160 463bca9d12bcc917718d97e24fdbd95cbc33a660 files/digest-core-1.7 238
+SHA256 747e607be66855c9a339109f4daa5e239151d2b0a4b23000b881c13b3d79e98f files/digest-core-1.7 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFFLrieGG5LT2KRH24RAvoeAJ4wRnmnkUAD3HQs2hutAXqCze5bJgCgpp96
+gADJQQRzoX3UHno+4OAJe4A=
+=LN7A
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/libcore/files/digest-libcore-1.7 b/sci-libs/libcore/files/digest-libcore-1.7
new file mode 100644
index 000000000000..74dc164fe718
--- /dev/null
+++ b/sci-libs/libcore/files/digest-libcore-1.7
@@ -0,0 +1,3 @@
+MD5 7078178bca8b5508217458ce61bd3a10 core_v1.7x_std.tgz 2956734
+RMD160 f7dd163f6c35e80a46deb2ec59870c644a139899 core_v1.7x_std.tgz 2956734
+SHA256 248723fdf85a6050b59509099942d6adf170d604dd6570d4c7afdcaa725bfbeb core_v1.7x_std.tgz 2956734
diff --git a/sci-libs/libcore/files/libcore-1.7.patch b/sci-libs/libcore/files/libcore-1.7.patch
new file mode 100644
index 000000000000..2fff5dcc1699
--- /dev/null
+++ b/sci-libs/libcore/files/libcore-1.7.patch
@@ -0,0 +1,107 @@
+--- src/Makefile 2004-11-11 19:10:53.000000000 +0100
++++ src/Makefile 2006-10-12 20:25:40.000000000 +0200
+@@ -7,7 +7,7 @@
+
+ CORE_PATH=..
+
+-INCLUDE=-I${CORE_PATH}/inc -I${CORE_PATH}/gmp/include
++INCLUDE=-I${CORE_PATH}/inc
+
+ # VAR indicates variants of the Core library
+ # E.g., if VAR=(empty) then we compile the release version.
+@@ -31,7 +31,8 @@
+
+ # The following library will be built:
+ CORE_LIB=$(CORE_PATH)/lib/libcore++${VAR}.a
+-CORE_SHARED_LIB=$(CORE_PATH)/lib/libcore++${VAR}.so
++CORE_SHARED_LIB_NAME=lib${PN}++${VAR}.so
++CORE_SHARED_LIB=$(CORE_PATH)/lib/$(CORE_SHARED_LIB_NAME)
+
+ TARGET=$(CORE_LIB)
+
+@@ -49,7 +50,7 @@
+ $(AR) $@ $?
+
+ ${CORE_SHARED_LIB}: $(EXPROBJS)
+- $(CXX) $(CORE_LDFLAGS) -o $@ $^
++ $(CXX) $(CORE_LDFLAGS) -Wl,-soname,$(CORE_SHARED_LIB_NAME).1 -o $@ $^
+
+ %${VAR}.o: %.cpp
+ # Aug 8, 2004 by Chee (TEMP CHANGE! FOR DEBUGGING)
+--- ext/Makefile 2004-11-11 19:10:55.000000000 +0100
++++ ext/Makefile 2006-10-12 20:26:00.000000000 +0200
+@@ -13,7 +13,7 @@
+ # =============================================================
+
+ CORE_PATH=..
+-INCLUDE=-I${CORE_PATH}/inc -I${CORE_PATH}/gmp/include
++INCLUDE=-I${CORE_PATH}/inc
+
+ MODULES := linearAlgebra geometry2d geometry3d
+
+@@ -29,9 +29,12 @@
+ COREX_LIB_LEVEL3=${CORE_PATH}/lib/lib${PN}x++$(VAR)_level3.a
+ COREX_LIB_LEVEL2=${CORE_PATH}/lib/libcorex++$(VAR)_level2.a
+ COREX_LIB_LEVEL1=${CORE_PATH}/lib/libcorex++$(VAR)_level1.a
+-COREX_SHARED_LIB_LEVEL3=${CORE_PATH}/lib/libcorex++$(VAR)_level3.so
+-COREX_SHARED_LIB_LEVEL2=${CORE_PATH}/lib/libcorex++$(VAR)_level2.so
+-COREX_SHARED_LIB_LEVEL1=${CORE_PATH}/lib/libcorex++$(VAR)_level1.so
++COREX_SHARED_LIB_LEVEL3_NAME=libcorex++$(VAR)_level3.so
++COREX_SHARED_LIB_LEVEL2_NAME=libcorex++$(VAR)_level2.so
++COREX_SHARED_LIB_LEVEL1_NAME=libcorex++$(VAR)_level1.so
++COREX_SHARED_LIB_LEVEL3=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL3_NAME)
++COREX_SHARED_LIB_LEVEL2=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL2_NAME)
++COREX_SHARED_LIB_LEVEL1=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL1_NAME)
+
+ TARGET=${COREX_LIB_LEVEL3} ${COREX_LIB_LEVEL2} ${COREX_LIB_LEVEL1}
+
+@@ -59,7 +62,7 @@
+
+ ${COREX_SHARED_LIB_LEVEL3}: ${L3_OBJS}
+ -@rm -rf $@
+- $(CXX) $(CORE_LDFLAGS) -o $@ $?
++ $(CXX) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL3_NAME).1 -o $@ $?
+
+ ${COREX_LIB_LEVEL2}: ${L2_OBJS}
+ -@rm -rf $@
+@@ -67,7 +70,7 @@
+
+ ${COREX_SHARED_LIB_LEVEL2}: ${L2_OBJS}
+ -@rm -rf $@
+- $(CXX) $(CORE_LDFLAGS) -o $@ $?
++ $(CXX) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL2_NAME).1 -o $@ $?
+
+ ${COREX_LIB_LEVEL1}: ${L1_OBJS}
+ -@rm -rf $@
+@@ -75,16 +78,16 @@
+
+ ${COREX_SHARED_LIB_LEVEL1}: ${L1_OBJS}
+ -@rm -rf $@
+- $(CXX) $(CORE_LDFLAGS) -o $@ $?
++ $(CXX) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL1_NAME).1 -o $@ $?
+
+ %_level3.o: %.cpp
+- ${CXX} $(CORE_CXXFLAGS) -DCORE_LEVEL=3 $(INCLUDE) -c $< -o $@
++ ${CXX} -ffriend-injection -fpermissive $(CORE_CXXFLAGS) -DCORE_LEVEL=3 $(INCLUDE) -c $< -o $@
+
+ %_level2.o: %.cpp
+- ${CXX} $(CORE_CXXFLAGS) -DCORE_LEVEL=2 $(INCLUDE) -c $< -o $@
++ ${CXX} -ffriend-injection -fpermissive $(CORE_CXXFLAGS) -DCORE_LEVEL=2 $(INCLUDE) -c $< -o $@
+
+ %_level1.o: %.cpp
+- ${CXX} $(CORE_CXXFLAGS) -DCORE_LEVEL=1 $(INCLUDE) -c $< -o $@
++ ${CXX} -ffriend-injection -fpermissive $(CORE_CXXFLAGS) -DCORE_LEVEL=1 $(INCLUDE) -c $< -o $@
+
+ clean:
+ -@test -z "*.o" || rm -f *.o
+--- Make.config 2005-02-02 14:25:29.000000000 +0100
++++ Make.config 2006-10-12 20:20:59.000000000 +0200
+@@ -217,7 +217,7 @@
+ ifeq (${VAR}, Debug)
+ CXXFLAGS=-g -Wall
+ else
+- CXXFLAGS=-O2 -Wall -DNDEBUG
++ CXXFLAGS=${CFLAGS} -Wall -DNDEBUG
+ endif
+
+ ifeq (${VAR}, Opt)
diff --git a/sci-libs/libcore/libcore-1.7.ebuild b/sci-libs/libcore/libcore-1.7.ebuild
new file mode 100644
index 000000000000..209b9da6018e
--- /dev/null
+++ b/sci-libs/libcore/libcore-1.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcore/libcore-1.7.ebuild,v 1.1 2006/10/17 15:02:56 djay Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="The main goal of the CORE project is to address the issues of
+robust numerical and geometric computation."
+HOMEPAGE="http://www.cs.nyu.edu/exact/core_pages/"
+SRC_URI="http://cs.nyu.edu/exact/core/download/prerelease/core_v${PV}x_std.tgz"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="dev-libs/gmp
+ doc? ( virtual/tetex ) "
+RDEPEND="virtual/libc"
+
+S="${WORKDIR}/core_v${PV}x"
+
+src_unpack(){
+ unpack "${A}"
+ cd "${S}"
+ epatch ${FILESDIR}/core-1.7.patch || die "Unable to patch sources"
+}
+
+src_compile(){
+ cd "${S}"
+ emake CXX=$(tc-getCXX) corelib || die "Unable to create corelib"
+ emake CXX=$(tc-getCXX) corex || die "Unable to create corex"
+ if use doc; then
+ cd "${S}/doc"
+ emake all || die "Unable to create doc"
+ fi
+}
+
+src_install(){
+ cd "${S}"
+ dolib lib/*.a lib/*.so || die "Unable to find libraries"
+ for i in $(find "${D}/usr/lib/" -name "*so" | sed "s:${D}::g"); do
+ dosym $i $i.1 && dosym $i $i.1.0.0 || die "Unable to sym $i"
+ done
+
+ dodir /usr/include || die "Unable to create include dir"
+ cp -r ./inc/* "${D}/usr/include/" || "Unable to copy headers"
+
+ dodoc FAQs README || "Unable to install default doc"
+ if use doc; then
+ dodoc doc/ANNOUNCEMENT* doc/*pdf doc/papers/* || \
+ die "Unable to install doc"
+ fi
+}
diff --git a/sci-libs/libcore/metadata.xml b/sci-libs/libcore/metadata.xml
new file mode 100644
index 000000000000..3190fbf9c377
--- /dev/null
+++ b/sci-libs/libcore/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-geosciences</herd>
+</pkgmetadata>