Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/transfolio/
Date: Mon, 11 May 2020 21:54:12
Message-Id: 1589234032.69e4846eefecae7b962e3c263b4828b93c2396e5.conikost@gentoo
1 commit: 69e4846eefecae7b962e3c263b4828b93c2396e5
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 21:50:11 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 21:53:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e4846e
7
8 app-misc/transfolio: respect users ldflags
9
10 Closes: https://bugs.gentoo.org/722374
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 app-misc/transfolio/transfolio-1.0.1-r1.ebuild | 31 ++++++++++++++++++++++++++
15 1 file changed, 31 insertions(+)
16
17 diff --git a/app-misc/transfolio/transfolio-1.0.1-r1.ebuild b/app-misc/transfolio/transfolio-1.0.1-r1.ebuild
18 new file mode 100644
19 index 00000000000..fb39bd28dea
20 --- /dev/null
21 +++ b/app-misc/transfolio/transfolio-1.0.1-r1.ebuild
22 @@ -0,0 +1,31 @@
23 +# Copyright 2019-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit toolchain-funcs
29 +
30 +DESCRIPTION="Enables data transfer between the PC and the Atari Portfolio"
31 +HOMEPAGE="http://leute.server.de/peichl/"
32 +SRC_URI="http://leute.server.de/peichl/transfolio.zip -> ${P}.zip"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +
38 +BDEPEND="app-arch/unzip"
39 +
40 +src_prepare() {
41 + default
42 +
43 + # Respect users CC, CFLAGS, LDFLAGS and disable striping
44 + sed -e 's/cc/${CC}/' -e 's/-O2/${CFLAGS} ${LDFLAGS}/' -e '/strip/d' -i Makefile || die
45 +
46 + tc-export CC
47 +}
48 +
49 +src_install() {
50 + dobin transfolio
51 +
52 + einstalldocs
53 +}