summaryrefslogtreecommitdiff
path: root/net-dialup/tcpser/tcpser-1.1.4.ebuild
blob: 405bde7cb86f769e34db254ac4068a94d156a97e (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
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Hayes Smartmodem emulator over TCP/IP"
HOMEPAGE="https://github.com/go4retro/tcpser"
SRC_URI="https://github.com/go4retro/tcpser/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	# Fix CR-LF incompatibility with patch
	eapply --binary "${FILESDIR}/${P}_dont-hardcode-cflags-and-ldflags.patch"

	make all CC=$(tc-getCC)
}

src_install() {
	dobin tcpser
	doman man/tcpser.1
	dodoc README.md
}