net-dialup/syncterm - 1.1 (guru)

Search

Install

Install this version:

emerge -a =net-dialup/syncterm-1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-dialup/syncterm-1.1

Or alternatively:

emerge --autounmask-write -a =net-dialup/syncterm-1.1

Package Information

Description:
BBS (bulletin board system) terminal
Homepage:
https://syncterm.bbsdev.net/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop toolchain-funcs

DESCRIPTION="BBS (bulletin board system) terminal"
HOMEPAGE="https://syncterm.bbsdev.net/"
SRC_URI="https://sourceforge.net/projects/syncterm/files/syncterm/syncterm-${PV}/syncterm-${PV}-src.tgz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ncurses sdl X"

DEPEND="ncurses? ( sys-libs/ncurses )
	sdl? ( media-libs/libsdl2 )
	X? ( x11-libs/libX11 )"
RDEPEND="${DEPEND}"

src_prepare() {
	tc-export AR STRIP
	eapply "${FILESDIR}/${P}_use-sched-yield-instead-of-pthread-yield.patch"
	eapply "${FILESDIR}/${P}_do-not-strip-3rdp-test.patch"
	eapply "${FILESDIR}/${P}_disable-parallel-build.patch"
	eapply "${FILESDIR}/${P}_respect-toolchain-variables.patch"
	eapply_user
}

src_compile() {
	# FIXME: probably bad form
	cd "${S}/src/syncterm"

	# NOTE: build system automatically detects whether
	# optional dependencies are there, strangely

	emake
	emake syncterm.man

	# doman complains about wrong filename otherwise
	cp syncterm.man syncterm.1
}

src_install() {
	# Regular ‘emake install’ violates policy in multiple ways
	dobin src/syncterm/gcc.linux.x64.exe.debug/syncterm
	doicon src/syncterm/syncterm.png
	domenu src/syncterm/syncterm.desktop
	doman src/syncterm/syncterm.1

	# Things not installed by ‘emake install’
	dodoc src/syncterm/CHANGES
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-dialup/syncterm | euse -E <flag> -p net-dialup/syncterm | euse -D <flag> -p net-dialup/syncterm

Global/Standard Flags

sdl
X

Inherited Eclasses

Dependencies

DEPEND

ncurses? ( sys-libs/ncurses )
	sdl? ( media-libs/libsdl2 )
	X? ( x11-libs/libX11 )

RDEPEND

ncurses? ( sys-libs/ncurses )
	sdl? ( media-libs/libsdl2 )
	X? ( x11-libs/libX11 )

Manifest for 1.1

Type File Size Source URLs
DIST syncterm-1.1-src.tgz 18270212 bytes https://sourceforge.net/projects/syncterm/files/syncterm/syncterm-1.1/syncterm-1.1-src.tgz