summaryrefslogtreecommitdiff
path: root/dev-util/cdecl/cdecl-18.4.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-20 00:30:25 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-20 00:30:25 +0000
commit77684468238b8755c1aa3e72f3055f4e62fcf14c (patch)
tree7c18f4b036e2a73cd48b63c5d7c711bc5cf1b989 /dev-util/cdecl/cdecl-18.4.1.ebuild
parent781c9128468d2e8302221d4d7152ae09cffc4a9e (diff)
gentoo auto-resync : 20:03:2025 - 00:30:24HEADnextmaster
Diffstat (limited to 'dev-util/cdecl/cdecl-18.4.1.ebuild')
-rw-r--r--dev-util/cdecl/cdecl-18.4.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/cdecl/cdecl-18.4.1.ebuild b/dev-util/cdecl/cdecl-18.4.1.ebuild
new file mode 100644
index 000000000000..ef9a3c974240
--- /dev/null
+++ b/dev-util/cdecl/cdecl-18.4.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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/cdecl/releases/download/${P}/${P}.tar.gz -> ${P}.release.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug readline ncurses"
+
+DEPEND="
+ ncurses? ( sys-libs/ncurses:= )
+ readline? ( sys-libs/readline:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ $(use_with readline) \
+ $(use_enable ncurses term-size) \
+ $(use_enable debug bison-debug) \
+ $(use_enable debug flex-debug)
+}