Files
guru/app-misc/cepl/cepl-9.0.3.ebuild
Joey Pabalinas 9fe340dbcc app-misc/cepl: add 9.0.3, drop 9.0.2
Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com>
2025-08-28 07:19:15 -10:00

36 lines
734 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A readline C and C++ REPL with history, tab-completion, and undo."
HOMEPAGE="https://github.com/alyptik/cepl"
SRC_URI="https://github.com/alyptik/cepl/releases/download/v${PV}/${P}.tar.gz"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
sys-libs/readline:=
virtual/libelf:=
"
DEPEND="${RDEPEND}"
src_prepare() {
eapply_user
}
src_compile() {
tc-export CC
export {C,LD}FLAGS
emake cepl
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
# uncompress manpage to silence QA warning
bzip2 -d "${D}${EPREFIX}/usr/share/man/man1/cepl.1.bz2"
}