diff options
author | Thomas Kahle <tom111@gmx.de> | 2010-07-05 13:53:57 +0200 |
---|---|---|
committer | Thomas Kahle <tom111@gmx.de> | 2010-07-05 16:22:39 +0200 |
commit | 6cbd89563aef248855e1c6fce507deaef466412d (patch) | |
tree | 432c0414357fb5cb0d63d0fea61167964b631fdd /sci-libs | |
parent | [sci-chemistry/gromacs]: fortran fix (diff) | |
download | sci-6cbd89563aef248855e1c6fce507deaef466412d.tar.gz sci-6cbd89563aef248855e1c6fce507deaef466412d.tar.bz2 sci-6cbd89563aef248855e1c6fce507deaef466412d.zip |
new package: sci-libs/omalloc
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/omalloc/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/omalloc/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/omalloc/files/parallel-build.patch | 25 | ||||
-rw-r--r-- | sci-libs/omalloc/metadata.xml | 12 | ||||
-rw-r--r-- | sci-libs/omalloc/omalloc-0.9.6.ebuild | 51 |
5 files changed, 104 insertions, 0 deletions
diff --git a/sci-libs/omalloc/ChangeLog b/sci-libs/omalloc/ChangeLog new file mode 100644 index 000000000..35cc3f8d5 --- /dev/null +++ b/sci-libs/omalloc/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/omalloc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*omalloc-0.9.6 (05 Jul 2010) + + 05 Jul 2010; Thomas Kahle <tom111@gmx.de> +omalloc-0.9.6.ebuild, + +files/parallel-build.patch, +metadata.xml: + new package: sci-libs/omalloc + new dependency of sci-mathematics/singular + diff --git a/sci-libs/omalloc/Manifest b/sci-libs/omalloc/Manifest new file mode 100644 index 000000000..4a5a6b13c --- /dev/null +++ b/sci-libs/omalloc/Manifest @@ -0,0 +1,5 @@ +AUX parallel-build.patch 900 RMD160 1236c0c03b5209d782edf33bde30e10cefb71636 SHA1 f8aef60f60b890a63680d0276bce03b7070ba19d SHA256 f48cf0af887189c4a427e1b65d4b13962e11987b57d6b82eee06e85f85828f3e +DIST Singular-3-1-1-2.tar.gz 19397418 RMD160 205671f1ea2e2f22c025defc3d85c762362c7e3f SHA1 217af7a4e9b36b769a145bf81fb27c49d64333f6 SHA256 4e5929b324f952c69de1dedddbeca1c51a3733a0f63e026d3e7b61a7e469d5a7 +EBUILD omalloc-0.9.6.ebuild 1105 RMD160 a078b3ad2bcebd92bea032fe55ad93b813544d95 SHA1 eb2a19cbc8e5196de02b68a81d2b7fb5f0e8e16a SHA256 e950d6ce700be8eb5e1eaed99b07ad19bf0e39e035e3ac1d729f2586a1352a79 +MISC ChangeLog 338 RMD160 d6d79c71e8600dc48e6b8313a15ab0c024cd3664 SHA1 0b926d5660b30c7565e7a96f85a68fcb542b87a6 SHA256 2c437a9acae1947ae11c9ecec0103c96a29f3382e67b6eb242fb99e618e438d5 +MISC metadata.xml 330 RMD160 c8055f309c938468c7c0af9279c734fe40c7ac0d SHA1 2f4244a2e40645277e94692be694f5feac2c2c6c SHA256 802e41cbccd2d4b549736141e341590687775e678bf3ace3524027ff5beed136 diff --git a/sci-libs/omalloc/files/parallel-build.patch b/sci-libs/omalloc/files/parallel-build.patch new file mode 100644 index 000000000..45aeb641d --- /dev/null +++ b/sci-libs/omalloc/files/parallel-build.patch @@ -0,0 +1,25 @@ +--- Makefile.in.org 2010-07-05 12:00:56.000000000 +0200 ++++ Makefile.in 2010-07-05 12:05:02.000000000 +0200 +@@ -83,7 +83,8 @@ + omAllocSystem.h omFindExec.h omStats.h \ + omBin.h omDefaultConfig.h omStructs.h \ + omBinPage.h omInline.h omGetBackTrace.h \ +-omReturn.h omRet2Info.h omAllocFunc.h ++omReturn.h omRet2Info.h omAllocFunc.h \ ++omTables.h + + OBJS := $(CSOURCES:.c=.o) $(GSOURCES:.c=.o) + OBJS_NDEBUG := $(CSOURCES:.c=.o_ndebug) $(GSOURCES:.c=.o_ndebug) +@@ -130,10 +131,10 @@ + omalloc.h: $(HEADERS) + ./makeheader om_Alloc.h $@ + +-omalloc.o: omalloc.c ++omalloc.o: omalloc.c omalloc.h + ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_NDEBUG -c $< -o $@ + +-omalloc_debug.o: omalloc_debug.c ++omalloc_debug.o: omalloc_debug.c omalloc.h + ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $< -o $@ + + omTables.inc: omTables diff --git a/sci-libs/omalloc/metadata.xml b/sci-libs/omalloc/metadata.xml new file mode 100644 index 000000000..884f5b57e --- /dev/null +++ b/sci-libs/omalloc/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> +<email>tom111@gmx.de</email> +<name>Thomas Kahle</name> +</maintainer> +<longdescription lang="en"> +omalloc is the memory management of Singular +</longdescription> +</pkgmetadata> diff --git a/sci-libs/omalloc/omalloc-0.9.6.ebuild b/sci-libs/omalloc/omalloc-0.9.6.ebuild new file mode 100644 index 000000000..103e92aac --- /dev/null +++ b/sci-libs/omalloc/omalloc-0.9.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils elisp-common autotools versionator + +Sing_PV=$(replace_all_version_separators -) +Sing_DIR=$(get_version_component_range 1-3 ${MY_PV}) +MY_PV_SHARE=${MY_PV} + +DESCRIPTION="omalloc is the memory management of the Singular algebra system" +HOMEPAGE="http://www.singular.uni-kl.de/" +SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/3-1-1/3-1-1-2" +SRC_URI="${SRC_COM}/Singular-3-1-1-2.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/Singular-3-1-1/omalloc + +# Until tarballs are mirrored: +RESTRICT="mirror" + +src_prepare (){ + epatch "${FILESDIR}"/parallel-build.patch +} + +src_configure() { + # Taking care of ${CC} and friends. + tc-export CC CPP CXX + econf --prefix="${D}"/usr +} + +src_compile () { + emake || die "make failed" +} + +src_install () { + emake DESTDIR="$D" install || die "install failed" + # dolib.a *.a + # insinto /usr/include + # doins omalloc.h omalloc.c mylimits.h + } |