mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
34 lines
633 B
Bash
34 lines
633 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
|
|
}
|