44 lines
1014 B
Bash
44 lines
1014 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="A BBS terminal program, supporting ANSI music and IBM charset."
|
|
HOMEPAGE="http://syncterm.bbsdev.net"
|
|
SRC_URI="https://downloads.sourceforge.net/project/syncterm/syncterm/syncterm-${PV}/syncterm-${PV}-src.tgz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64"
|
|
|
|
RDEPEND="sys-libs/ncurses"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/cl-makefile.patch
|
|
"${FILESDIR}"/st_crypt.patch
|
|
)
|
|
|
|
#S=${WORKDIR}/syncterm-${PV}/src/syncterm
|
|
|
|
src_prepare() {
|
|
cp "${FILESDIR}"/cl-linux-yield.patch ${WORKDIR}/syncterm-${PV}/3rdp/build/cl-linux-yield.patch
|
|
default
|
|
}
|
|
|
|
src_compile() {
|
|
# CPPFLAGS="${CPPFLAGS}" \
|
|
# CFLAGS="${CFLAGS}" \
|
|
# LDFLAGS="${LDFLAGS}" \
|
|
|
|
emake -C src/syncterm CC="$(tc-getCC)" \
|
|
PREFIX="/usr" MANPREFIX="/usr/share" RELEASE=1
|
|
}
|
|
|
|
src_install() {
|
|
emake -C src/syncterm CC="$(tc-getCC)" \
|
|
PREFIX="${ED}/usr" MANPREFIX="${ED}/usr/share" RELEASE=1 install
|
|
}
|