diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/buddy | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/buddy')
-rw-r--r-- | sci-libs/buddy/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/buddy/buddy-2.2.ebuild | 38 | ||||
-rw-r--r-- | sci-libs/buddy/buddy-2.4.ebuild | 39 | ||||
-rw-r--r-- | sci-libs/buddy/files/buddy-2.4-gcc43.patch | 22 | ||||
-rw-r--r-- | sci-libs/buddy/files/buddy-2.4-gold.patch | 16 | ||||
-rw-r--r-- | sci-libs/buddy/metadata.xml | 14 |
6 files changed, 131 insertions, 0 deletions
diff --git a/sci-libs/buddy/Manifest b/sci-libs/buddy/Manifest new file mode 100644 index 000000000000..8c71890779bb --- /dev/null +++ b/sci-libs/buddy/Manifest @@ -0,0 +1,2 @@ +DIST buddy-2.4.tar.gz 766523 SHA256 d3df80a6a669d9ae408cb46012ff17bd33d855529d20f3a7e563d0d913358836 SHA512 43984969359ac363141ee8a67538ceeae1412efa172432a8355f6ce68ab5ffab12470ad7a2e0d7a6a557b8bf55e98b2f2dc5cc6710466403d45fab2195ba2e23 WHIRLPOOL 448c1eacc61a238083723693abca6f1600198e9ebd420a9b21179d82fd717c697bfe39758bffda1d96e3ace1a160da5cde91094bd67d9d288a632f1d03f2170a +DIST buddy22.tar.gz 448103 SHA256 932be15566d95038239b76028bf8d371baadc421fe16c379d4b29d0b834530ca SHA512 edded743a9fdd762b2529408902069b559b24278c9ca8f10f8a72d486f0ea254f2b5d6fc414fb7599eb627841e4d8126198aebc96913c297cadd691485680df9 WHIRLPOOL cf0b668bfa50c0ae7f35f5936d8e9e5a83c70a8de0fadd0454a458cff7a0babef8f30829fe8414d0e012a6c7857f917f92a010c136e2689978779e99fffca971 diff --git a/sci-libs/buddy/buddy-2.2.ebuild b/sci-libs/buddy/buddy-2.2.ebuild new file mode 100644 index 000000000000..f4cc8ccada2c --- /dev/null +++ b/sci-libs/buddy/buddy-2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="Binary Decision Diagram Package" +HOMEPAGE="http://www.itu.dk/research/buddy/" +SRC_URI="http://www.itu.dk/research/buddy/buddy22.tar.gz" + +LICENSE="buddy" +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="" + +S=${WORKDIR}/buddy22 + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + LIBDIR=usr/lib \ + INCDIR=usr/include \ + || die +} + +src_install() { + dodir /usr/lib /usr/include + emake install \ + LIBDIR="${D}"/usr/lib \ + INCDIR="${D}"/usr/include || die + dodoc CHANGES README doc/*.txt + insinto /usr/share/doc/${P}/ps + doins doc/*.ps + insinto /usr/share/${PN}/examples + cd examples + for example in *; do + tar -czf ${example}.tar.gz ${example} + doins ${example}.tar.gz + done +} diff --git a/sci-libs/buddy/buddy-2.4.ebuild b/sci-libs/buddy/buddy-2.4.ebuild new file mode 100644 index 000000000000..ecb37494e61e --- /dev/null +++ b/sci-libs/buddy/buddy-2.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils fortran-2 + +DESCRIPTION="Binary Decision Diagram Package" +HOMEPAGE="http://sourceforge.net/projects/buddy/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="buddy" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc examples static-libs" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gold.patch +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + dodoc doc/*.txt + + use doc && docinto /usr/share/doc/${PF}/ps && dodoc doc/*.ps + + if use examples; then + insinto /usr/share/${PN}/ + doins -r examples + fi +} diff --git a/sci-libs/buddy/files/buddy-2.4-gcc43.patch b/sci-libs/buddy/files/buddy-2.4-gcc43.patch new file mode 100644 index 000000000000..c7b9f85688eb --- /dev/null +++ b/sci-libs/buddy/files/buddy-2.4-gcc43.patch @@ -0,0 +1,22 @@ +diff -Naurp buddy-2.4-orig/src/bddtest.cxx buddy-2.4/src/bddtest.cxx +--- buddy-2.4-orig/src/bddtest.cxx 2004-06-25 07:22:26.000000000 -0600 ++++ buddy-2.4/src/bddtest.cxx 2009-02-09 22:14:19.000000000 -0600 +@@ -28,6 +28,7 @@ + ========================================================================*/ + + #include <string> ++#include <cstdlib> + #include "bdd.h" + #include "bvec.h" + +diff -Naurp buddy-2.4-orig/examples/bddcalc/parser_.h buddy-2.4/examples/bddcalc/parser_.h +--- buddy-2.4-orig/examples/bddcalc/parser_.h 2004-06-25 07:21:43.000000000 -0600 ++++ buddy-2.4/examples/bddcalc/parser_.h 2009-02-09 22:21:09.000000000 -0600 +@@ -9,6 +9,7 @@ + #define _PARSER_H + + #include <stdio.h> ++#include <stdlib.h> + #include "bdd.h" + + #define MAXIDLEN 32 /* Max. number of allowed characters in an identifier */ diff --git a/sci-libs/buddy/files/buddy-2.4-gold.patch b/sci-libs/buddy/files/buddy-2.4-gold.patch new file mode 100644 index 000000000000..dc30a642141d --- /dev/null +++ b/sci-libs/buddy/files/buddy-2.4-gold.patch @@ -0,0 +1,16 @@ + examples/cmilner/Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/examples/cmilner/Makefile.in b/examples/cmilner/Makefile.in +index 9b49e9d..f7a9b8a 100644 +--- a/examples/cmilner/Makefile.in ++++ b/examples/cmilner/Makefile.in +@@ -217,7 +217,7 @@ clean-checkPROGRAMS: + done + cmilner$(EXEEXT): $(cmilner_OBJECTS) $(cmilner_DEPENDENCIES) + @rm -f cmilner$(EXEEXT) +- $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS) ++ $(LINK) $(cmilner_LDFLAGS) $(cmilner_OBJECTS) $(cmilner_LDADD) $(LIBS) -lm + + mostlyclean-compile: + -rm -f *.$(OBJEXT) diff --git a/sci-libs/buddy/metadata.xml b/sci-libs/buddy/metadata.xml new file mode 100644 index 000000000000..c09b86dde138 --- /dev/null +++ b/sci-libs/buddy/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription lang="en"> + A Binary Decision Diagram library, with :many highly efficient + vectorized BDD operations,dynamic variable reordering,automated + garbage collection,a C++ interface with automatic reference + counting,and much more. +</longdescription> + <upstream> + <remote-id type="sourceforge">buddy</remote-id> + </upstream> +</pkgmetadata> |