summaryrefslogtreecommitdiff
path: root/app-misc/transfolio/transfolio-1.0.1-r1.ebuild
blob: 6c68ed5ec6f07c1e2527ea447325d6347c28ca65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Enables data transfer between the PC and the Atari Portfolio"
HOMEPAGE="http://leute.server.de/peichl/"
SRC_URI="http://leute.server.de/peichl/transfolio.zip -> ${P}.zip"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"

BDEPEND="app-arch/unzip"

src_prepare() {
	default

	# Respect users CC, CFLAGS, LDFLAGS and disable striping
	sed -e 's/cc/${CC}/' -e 's/-O2/${CFLAGS} ${LDFLAGS}/' -e '/strip/d' -i Makefile || die

	tc-export CC
}

src_install() {
	dobin transfolio

	einstalldocs
}