mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-util/cdecl: Add new package
See #570454, this package is a continuation of dev-util/cdecl::gentoo from the main repo's 7c81cf86, from a different up-to-date source. Signed-off-by: Marco Sirabella <marco@sirabella.org>
This commit is contained in:
40
dev-util/cdecl/cdecl-9.10.ebuild
Normal file
40
dev-util/cdecl/cdecl-9.10.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION='Composing and deciphering C (or C++) declarations or casts, aka "gibberish."'
|
||||
HOMEPAGE="https://github.com/paul-j-lucas/cdecl"
|
||||
SRC_URI="https://github.com/paul-j-lucas/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+readline"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-tinfo.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
Reference in New Issue
Block a user