app-misc/cepl: new package, add 9.0.2

Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com>
This commit is contained in:
Joey Pabalinas
2024-07-20 07:12:41 -10:00
parent 8b61848a54
commit bdb280cb42
3 changed files with 48 additions and 0 deletions

1
app-misc/cepl/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST cepl-9.0.2.tar.gz 2007846 BLAKE2B ceedaeeaf1fbf684ce9d260e52951ce0e97ca1313bcdc08e37ac5bce1616245c140e0411b92e209822116da92a7bf70f0d647c3c426a8114912f2f5784fbf902 SHA512 c14ceb0bcc512849969e6979437ff09942fcf73b5f4924a27d6c2f468532a52bb1b0110393d7fa3d78b90fa7ced2dab73d2101cc12b97b01f64c5d161c4ae35a

View File

@@ -0,0 +1,35 @@
# 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"
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>joeypabalinas@gmail.com</email>
<name>Joey Pabalinas</name>
<description>jp</description>
</maintainer>
<upstream>
<remote-id type="github">alyptik/cepl</remote-id>
</upstream>
</pkgmetadata>