Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/pcalc/
Date: Wed, 23 Feb 2022 04:49:22
Message-Id: 1645591747.b9a0004a792e1c5211932ec98292353a2da3ab1b.vapier@gentoo
1 commit: b9a0004a792e1c5211932ec98292353a2da3ab1b
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 23 04:48:32 2022 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 23 04:49:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a0004a
7
8 sci-calculators/pcalc: version bump to 5
9
10 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
11
12 sci-calculators/pcalc/Manifest | 1 +
13 sci-calculators/pcalc/pcalc-5.ebuild | 25 +++++++++++++++++++++++++
14 2 files changed, 26 insertions(+)
15
16 diff --git a/sci-calculators/pcalc/Manifest b/sci-calculators/pcalc/Manifest
17 index 08cc54e05eb6..3d856c63a39f 100644
18 --- a/sci-calculators/pcalc/Manifest
19 +++ b/sci-calculators/pcalc/Manifest
20 @@ -1 +1,2 @@
21 DIST pcalc-4.tar.xz 68948 BLAKE2B f7d17e3ebf76aeccd9b7c74fe6ecfa7de94d8450d302e3b094b57f4050e0be2448887ea131496ab00ee140d0a44b0dd8d5b5564feb8fdc47d2fbbe5010af73d9 SHA512 6492ca89c5f60549f9388d8b7edad21c1c912feea0ee1a1271d730a63832c3b562b1a6bc9f69a0bd3118407906646c8d8fbed6c6d9a62db6a6bbde22579c1fd0
22 +DIST pcalc-5.tar.xz 72148 BLAKE2B 8095e9f17ebb8a6271460e8aa8d35d8ae588f4e046e3ff60c0a8ee4fbcb05a8afa96095baf2656be47a45dda5966e89a71e25c651839837d366d307e9ac532ac SHA512 13a33ae5c3fb40632c89f7c0dc7b5a2fa497f090393022ab57ab15f866b1bf122558085cdd2b7ab42aae9018b7031fe0e85df4c9d31fc359b87ffd930e2f16e7
23
24 diff --git a/sci-calculators/pcalc/pcalc-5.ebuild b/sci-calculators/pcalc/pcalc-5.ebuild
25 new file mode 100644
26 index 000000000000..398bb59b6c34
27 --- /dev/null
28 +++ b/sci-calculators/pcalc/pcalc-5.ebuild
29 @@ -0,0 +1,25 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="7"
34 +
35 +inherit toolchain-funcs
36 +
37 +DESCRIPTION="the programmers calculator"
38 +HOMEPAGE="https://github.com/vapier/pcalc"
39 +SRC_URI="mirror://sourceforge/pcalc/${P}.tar.xz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
44 +
45 +BDEPEND="sys-devel/flex"
46 +
47 +src_prepare() {
48 + default
49 + sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile || die
50 +}
51 +
52 +src_configure() {
53 + tc-export CC
54 +}