summaryrefslogtreecommitdiff
path: root/dev-libs/maloc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/maloc
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/maloc')
-rw-r--r--dev-libs/maloc/Manifest8
-rw-r--r--dev-libs/maloc/files/1.4-asneeded.patch17
-rw-r--r--dev-libs/maloc/files/1.4-doc.patch21
-rw-r--r--dev-libs/maloc/files/1.4-mpi.patch24
-rw-r--r--dev-libs/maloc/maloc-1.5-r1.ebuild59
-rw-r--r--dev-libs/maloc/metadata.xml8
6 files changed, 137 insertions, 0 deletions
diff --git a/dev-libs/maloc/Manifest b/dev-libs/maloc/Manifest
new file mode 100644
index 000000000000..8059b67e69e1
--- /dev/null
+++ b/dev-libs/maloc/Manifest
@@ -0,0 +1,8 @@
+AUX 1.4-asneeded.patch 533 SHA256 7c6b2fbe5d159dd2646865b7d182c82d30fd9891959a08af8df7796edf5baf60 SHA512 de3ed7a3515efcef2518fc04def32b4145b3975d25535f1d1ef06211a89573ccb024286d1904475b8b510caa6109e5106fb264fc097764566aa31616be6bb7de WHIRLPOOL b0df93c49cbf488d4257b187dc9cde15acf25e50a375cd6b98580d5ead0172d8d66d4e0d80d5cc09a0d84d199753e523f4edaee4a7cce504df89dee773e9deb7
+AUX 1.4-doc.patch 539 SHA256 1d57cf372751ea99eba4156c7933e60574da7790e3e7e8bca9718db65e549ed8 SHA512 7ca3d028c86c6938a51f44f9d7f769702b5a8732bbd98ac9abaee916f25b2b7bad69883844a36a4add055838ce67e779ccc02634aed05bea2704c20b59b5fb67 WHIRLPOOL d1827096e4c72344cac255c9a63c808291a3dd09fe348406de08e1d191253b2538280cbfadcd42cc243fc560e9beea36b38b29ca4d86772eb38ab1102066731b
+AUX 1.4-mpi.patch 652 SHA256 db2d9dcbb369988a08e59cea750df35fc91d0d375204d24df03f9c9b66ca4f93 SHA512 73d00caccb02f5fa94336c63a653e99bccdeebd39d6e10d4c8eaab95a8e4f4b90ac5d1232d781e25e5079c7fdb8038471078cc63ba638579f523e27816e49d43 WHIRLPOOL f07719a7af995ec427041cc9cb30a4ae24648cb044fcde10567ffc3832cff5067b4158a4e195d6fb90641223ea01a72bb6a6935ea8cc860b3e591980b9184888
+DIST maloc-1.5.tar.gz 794138 SHA256 58e1197fcd4c74d3cbb1d39d712eb0a3c5886a1e6629f22c5c78ce2bac983fc0 SHA512 9b50ffc0dd2a9c74808783fdc3bcad9dd6fb4ba0edcdad099eb7ab5e9a1f7d5c708db4b6e2a5373adfabd2a013b1cc4f92281905ef108df3fa6376726ca7a62c WHIRLPOOL 5b25dfc1db28712cb1bb4dbcefcfd5e462d1baa8029db462a8be5fa13baf08756804416c6d32231e5e2d42e5a31184f2a6ca255b860744a8a10a31915900781a
+EBUILD maloc-1.5-r1.ebuild 1232 SHA256 9f483ca63d23c13c4ed392f8f98812eade56b4863d80625d44465501d3addff1 SHA512 c0b69bf4eba7e579f4e0fbf00dffd35457cb93d71e25908febc29efdb20154a176bc62337b8c2abe70b35c8283bbbc8f78142e204529459738ca5649bf2ee4f3 WHIRLPOOL cfc7a980c1d3bc6b5ac495472fbf271bb73e697432bac8b8d19bd91a86a8a0c17ac082dd6aeaf94c969e0aee2033c7be5b599fa40f155df29a6dc601159aa637
+MISC ChangeLog 2782 SHA256 58d365c9bf027c3f006716c6f17c1d9fc9b880b414989d4a21f6ea1173e6d677 SHA512 43c9a0e6f7c694db79cd374a66f37fc759cd4411bf5ffb11e14b68b5e501e96b3d88f177a6685ce375f4dcad927b2b21bc795774dde402238695ca10803785c0 WHIRLPOOL 0ea8b6987298be7f49a61fe16add8dfa668c480756609a95c7ec956ce810193dcbdaa097b03ea01f2ea20cbb9a6c60ddf64f9993790ae6b8642b2bef5437e0a1
+MISC ChangeLog-2015 3931 SHA256 410237e337a84cb815324333c94b79115525c0d1948cb7248334a8b3e72911f1 SHA512 0912881d07c1a6042a95b10da8f7a1a0034a876ae5ec98b5346bde985e08bc8cdc6633586f119e27eb5cd399dd7ecae595207c647e6c13bb8f6d64c8f5fa31a5 WHIRLPOOL 0d577fe4554842758a70351d50fb20608a980996aa6e05801bad62b0e59b02bf7933b479d2a074dc0a2f5f8c3d84fe155a674e550afe918809cd0cd12a553b44
+MISC metadata.xml 259 SHA256 bbfbeb80ffccffa8e7f837d2c93e994bbe024d565ae3a31d30c6646e80a684c8 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 WHIRLPOOL 75b8dd1a97dde63f9cc9f73b5951eaf54579460763ef7cbe6f3a9a0739070601d762152ea00df8b476b80e92e5c29b611a494bac5ab747298942530cabe0ee84
diff --git a/dev-libs/maloc/files/1.4-asneeded.patch b/dev-libs/maloc/files/1.4-asneeded.patch
new file mode 100644
index 000000000000..aed7299e089a
--- /dev/null
+++ b/dev-libs/maloc/files/1.4-asneeded.patch
@@ -0,0 +1,17 @@
+diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am
+index 512e1ef..eda73ee 100644
+--- a/src/aaa_lib/Makefile.am
++++ b/src/aaa_lib/Makefile.am
+@@ -49,11 +49,10 @@ else
+ LIBEFENCE =
+ endif
+
+-libdir = ${prefix}/lib
+ lib_LTLIBRARIES = libmaloc.la ${LIBEFENCE}
+
+ libmaloc_la_SOURCES =
+-libmaloc_la_LIBADD = ${BASE_LIBS} ${VSYS_LIBS} ${VSH_LIBS} ${PSH_LIBS}
++libmaloc_la_LIBADD = ${BASE_LIBS} ${VSYS_LIBS} ${VSH_LIBS} ${PSH_LIBS} -lreadline -lm
+ libmaloc_la_LDFLAGS = -version-info ${FETK_VERSION}
+
+ libefence_la_SOURCES =
diff --git a/dev-libs/maloc/files/1.4-doc.patch b/dev-libs/maloc/files/1.4-doc.patch
new file mode 100644
index 000000000000..73be364812cc
--- /dev/null
+++ b/dev-libs/maloc/files/1.4-doc.patch
@@ -0,0 +1,21 @@
+diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
+index 2686292..8f77fe2 100644
+--- a/doc/doxygen/Makefile.am
++++ b/doc/doxygen/Makefile.am
+@@ -29,14 +29,12 @@
+ ## Author: Michael Holst
+ ## ###########################################################################
+
+-docdir = @prefix@/doc/maloc
+-
+ doc_DATA = maloc_doc
+
+ maloc_doc:
+ $(doxygen_path) $(top_srcdir)/doc/doxygen/maloc.dox
+
+ install-docDATA:
+- mkdir -p $(docdir)
+- cp -r ../api $(docdir)/
++ mkdir -p $(DESTDIR)/@docdir@
++ cp -r ../api $(DESTDIR)/@docdir@
+
diff --git a/dev-libs/maloc/files/1.4-mpi.patch b/dev-libs/maloc/files/1.4-mpi.patch
new file mode 100644
index 000000000000..807d5ddc8d38
--- /dev/null
+++ b/dev-libs/maloc/files/1.4-mpi.patch
@@ -0,0 +1,24 @@
+diff --git a/configure.ac b/configure.ac
+index d82b184..b8c5321 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -397,12 +397,14 @@ AC_SUBST(rl_inc)
+ dnl # ----------------------
+ dnl # HANDLE THE MPI LIBRARY
+ dnl # ----------------------
++mpi_use=""
+ AC_MSG_CHECKING([whether you want MPI])
+-AC_ARG_ENABLE(mpi,
+- [ --enable-mpi enable MPI layer [[default=no]]],
+- [ mpi_use="yes" ],
+- [ mpi_use="" ]
+-)
++AC_ARG_ENABLE([mpi],
++ AS_HELP_STRING([--enable-mpi enable MPI layer [[default=no]]]))
++
++AS_IF([test "x$enable_mpi" = "xyes"], [
++ mpi_use="yes"
++])
+ mpi_lib="";
+ mpi_inc="";
+ if test -z "${mpi_use}"; then
diff --git a/dev-libs/maloc/maloc-1.5-r1.ebuild b/dev-libs/maloc/maloc-1.5-r1.ebuild
new file mode 100644
index 000000000000..a28998d13c5e
--- /dev/null
+++ b/dev-libs/maloc/maloc-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils
+
+DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs"
+HOMEPAGE="http://www.fetk.org/codes/maloc/index.html"
+SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="doc mpi static-libs"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ sys-libs/readline
+ mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}
+ doc? (
+ media-gfx/graphviz
+ app-doc/doxygen
+ )"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=(
+ "${FILESDIR}"/1.4-mpi.patch
+ "${FILESDIR}"/1.4-asneeded.patch
+ "${FILESDIR}"/1.4-doc.patch
+ )
+
+src_prepare() {
+ echo 'VPUBLIC int Vio_getc(Vio *thee){ ASC *asc; asc = thee->axdr; return asc->buf[asc->pos++]; }' >> src/vsys/vio.c || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs
+ use mpi && export CC="mpicc"
+ use doc || myeconfargs+=( --with-doxygen= --with-dot= )
+
+ myeconfargs+=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_enable mpi)
+ --disable-triplet
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ # install doc
+ dohtml doc/index.html
+}
diff --git a/dev-libs/maloc/metadata.xml b/dev-libs/maloc/metadata.xml
new file mode 100644
index 000000000000..8425c0d53cb0
--- /dev/null
+++ b/dev-libs/maloc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>