diff options
author | 2021-03-03 14:48:06 +0100 | |
---|---|---|
committer | 2021-03-03 14:48:06 +0100 | |
commit | e60ceaea2a99997577aba27d79857f05a8466156 (patch) | |
tree | a08583e5d14323412bab3053900b5f3b5a5705fe /dev-lang | |
parent | dev-lang/yaggo: EAPI bump (diff) | |
download | sci-e60ceaea2a99997577aba27d79857f05a8466156.tar.gz sci-e60ceaea2a99997577aba27d79857f05a8466156.tar.bz2 sci-e60ceaea2a99997577aba27d79857f05a8466156.zip |
dev-lang/berkeley_upc_translator: version bump 2.28.2
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/berkeley_upc_translator/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.2.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/berkeley_upc_translator/Manifest b/dev-lang/berkeley_upc_translator/Manifest index 07403e8cd..6311378fa 100644 --- a/dev-lang/berkeley_upc_translator/Manifest +++ b/dev-lang/berkeley_upc_translator/Manifest @@ -1,3 +1,4 @@ DIST berkeley_upc_translator-2.16.2.tar.gz 7257272 BLAKE2B 51fdb47ba3b5d7d203dc1cc0f52df80efff468e04445fe10bb70d7671861f0e3ae3a1ca5e94929ded6b543e59cf0a0cafdbf31913cf3ccf52c6ee159917ef0a5 SHA512 e7bef6697f434d8ed0d7492d1bfc222884ba46aa96f6981949e505e0407feff738bebbbcc00cb74e0690b3b0a91700c6e530aff362d9085023e7cc2e163bb4ba DIST berkeley_upc_translator-2.18.2.tar.gz 7259552 BLAKE2B 3f20f21eb19be2bc5850c26d146ee3bd34c62d4b598833eeda16d0f4e7ebef17484b56bbbf004e5170afc1e9ef9b4e3bbb929254a90820a646576d95bf00530d SHA512 ec2f306c2690a5e28747b4dfe2f360e89e539e1d7d645a218bff16f6ea5de1965e52891ab5aba4c9da591ea378466c618a2c9917de93a99980285f8bc0df589d DIST berkeley_upc_translator-2.28.0.tar.gz 7285823 BLAKE2B f745a573b4a92be99e72b98747b1c4a3fddeffbc7e4cf6c4b2873777b544eccda2863d75bd678be92156d21f04634374fe6f806b90885afe226944015059433e SHA512 a77d86db8e5e96d0117fdbe08b436d7796f35c7e88f6bd09d22d4e4672e5ce456d3f21ecd7a5a14a3b15d95663fbd5fdbcbc4e5d7076545dcb75d91c610f856c +DIST berkeley_upc_translator-2.28.2.tar.gz 7285825 BLAKE2B 2ec1bdd2dbab604abe52e04dbec9d56a387c3111d0f8d7edd4dd46d651eb8212eeb6fdf671318988f815a1feaeb5e69d03cd5ed07c9c9af12c5622f804ee4ea1 SHA512 b68bdc5185a3559fc27c85cace0c2aa879d9824ec4bbc86509bfa59f12cfc95feb168cdba8bab982819357c1f221e439e0ac909736e87625f2ae1fd57f039692 diff --git a/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.2.ebuild b/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.2.ebuild new file mode 100644 index 000000000..135ac7393 --- /dev/null +++ b/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="The Berkeley UPC-to-C translator" +HOMEPAGE="https://upc.lbl.gov/" +SRC_URI="https://upc.lbl.gov/download/release/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + app-shells/tcsh + sys-devel/bison +" + +PATCHES=( "${FILESDIR}"/${PN}-2.28.0-makefile.patch ) + +src_prepare() { + default + + # makefiles unset CFLAGS and CXXFLAGS + export CXX="$(tc-getCXX) -std=gnu++98 " + tc-export CC + + export BUPC_ABI="${BUPC_ABI:-LP64}" \ + BUPC_BUILDDIR="${BUPC_BUILDDIR:-build_ia64}" +} + +src_configure() { + # their configure is broken + # patch should be enough to counter most + return +} + +src_compile() { + ABI="${BUPC_ABI}" BUILDDIR="${BUPC_BUILDDIR}" \ + emake -j1 all +} + +src_install() { + ABI="${BUPC_ABI}" BUILDDIR="${BUPC_BUILDDIR}" \ + PREFIX="${ED}/usr/libexec/${P}/" \ + emake -j1 install +} |