diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-03-16 09:27:00 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-03-16 09:27:07 +0100 |
commit | 9eeffe8cc09aa10d52a1682d68e39856a4b59ae3 (patch) | |
tree | df649d8e94eee66cf574b9e32318997c2b6323c3 /sci-mathematics | |
parent | games-emulation/dosbox-x: Always depend on media-libs/libsdl2[alsa] (diff) | |
download | guru-9eeffe8cc09aa10d52a1682d68e39856a4b59ae3.tar.gz guru-9eeffe8cc09aa10d52a1682d68e39856a4b59ae3.tar.bz2 guru-9eeffe8cc09aa10d52a1682d68e39856a4b59ae3.zip |
sci-mathematics/abc: treeclean, in ::gentoo
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/abc/abc-9999.ebuild | 57 | ||||
-rw-r--r-- | sci-mathematics/abc/metadata.xml | 12 |
2 files changed, 0 insertions, 69 deletions
diff --git a/sci-mathematics/abc/abc-9999.ebuild b/sci-mathematics/abc/abc-9999.ebuild deleted file mode 100644 index 5f80d0d55..000000000 --- a/sci-mathematics/abc/abc-9999.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -EAPI=7 - -inherit git-r3 toolchain-funcs - -DESCRIPTION="System for sequential logic synthesis and formal verification" -HOMEPAGE="https://people.eecs.berkeley.edu/~alanmi/abc/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/berkeley-abc/abc.git" -EGIT_BRANCH="master" - - -LICENSE="Berkeley-ABC" -SLOT="0" -KEYWORDS="" -PROPERTIES="live" -IUSE="+static-libs +readline +pthread" -REQUIRED_USE="" - - -BDEPEND=" - sys-devel/gcc[cxx] -" - -RDEPEND=" - readline? ( sys-libs/readline:= ) -" - -DEPEND=" - ${RDEPEND} -" - - -src_compile() { - local MAKE_ARGS=( - CC=$(tc-getCC) - CXX=$(tc-getCXX) - AR=$(tc-getAR) - LD=$(tc-getCXX) - ABC_USE_PIC=1 - $(usex readline "" "ABC_USE_NO_READLINE=1") - $(usex pthread "" "ABC_USE_NO_PTHREADS=1") - ) - - # We're explicitly building these targets sequentially, - # because if the abc executable and libabc.a are linked in parallel, - # we risk exhausting memory. - emake "${MAKE_ARGS[@]}" abc - emake "${MAKE_ARGS[@]}" libabc.so - use static-libs && emake "${MAKE_ARGS[@]}" libabc.a -} - - -src_install() { - dobin abc - dolib.so libabc.so - use static-libs && dolib.a libabc.a -} diff --git a/sci-mathematics/abc/metadata.xml b/sci-mathematics/abc/metadata.xml deleted file mode 100644 index b63afe043..000000000 --- a/sci-mathematics/abc/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<upstream> - <remote-id type="github">berkeley-abc/abc</remote-id> -</upstream> -<use> - <flag name="static-libs">Builds libabc.a</flag> - <flag name="readline">Enables readline support</flag> - <flag name="pthread">Builds with pthreads</flag> -</use> -</pkgmetadata> |