app-misc/cepl - 32.1.0 (guru)

Search

Install

Install this version:

emerge -a =app-misc/cepl-32.1.0

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

autounmask =app-misc/cepl-32.1.0

Or alternatively:

emerge --autounmask-write -a =app-misc/cepl-32.1.0

Package Information

Description:
A readline C and C++ REPL with history, tab-completion, and undo.
Homepage:
https://github.com/alyptik/cepl
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
32.1.0 8 ~amd64 0
View Raw Ebuild
# 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"
S="${WORKDIR}"

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/alyptik/${PN}.git"
	EGIT_SUBMODULES=('*')
	EGIT_BRANCH="master"
	EGIT_CHECKOUT_DIR="${S}"
else
	SRC_URI="https://github.com/alyptik/cepl/releases/download/v${PV}/${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE="debug"
RDEPEND="
	sys-libs/readline:=
	virtual/libelf:=
	"
DEPEND="${RDEPEND}"

src_prepare() {
	default
	eapply_user
}

src_compile() {
	local myemakeargs=()

	tc-export CC
	export {C,LD}FLAGS

	use debug && myemakeargs+="debug"
	emake "${myemakeargs[@]}"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/cepl | euse -E <flag> -p app-misc/cepl | euse -D <flag> -p app-misc/cepl

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	sys-libs/readline:=
	virtual/libelf:=
	

RDEPEND

	sys-libs/readline:=
	virtual/libelf:=
	

Manifest for 32.1.0

Type File Size Source URLs
DIST cepl-32.1.0.tar.gz 150200 bytes https://github.com/alyptik/cepl/releases/download/v32.1.0/cepl-32.1.0.tar.gz