summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cdecl/Manifest1
-rw-r--r--dev-util/cdecl/cdecl-11.14.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/cdecl/Manifest b/dev-util/cdecl/Manifest
index 058fa80e4f47..f44698f58275 100644
--- a/dev-util/cdecl/Manifest
+++ b/dev-util/cdecl/Manifest
@@ -1,2 +1,3 @@
DIST cdecl-11.11.tar.gz 765023 BLAKE2B c8847740339f0d9c977c43d9cbf4ea05061a428cef47bfa0cbf908548162eb328483a477e86b60525e39c3e59dc32a21fb093c3afecafb17da1943945c875d98 SHA512 32b95c51af4b1eaa2833777c3a63a807d63f754a766a5dbb215508c11bca99be0b3d3ef260b6bc52a9cbae7f99d82c27fe034f4c9acfcb0447ba1d1c9dba14f4
DIST cdecl-11.12.tar.gz 766918 BLAKE2B 6cf07cc6e9d4a1948edc4c9ea9eea586624f4117c8871f209270069588644a8f23e7fa98a4d1d80455cfbef392289b5382e36b16b90d16bdacfa136ca05c5198 SHA512 02bf5ea8264025b8fe71dfa166342af2b5a5edd5f85f7d4e106628f5e0dd24641d60a676d84e3337670a3e9fe78829a0433b567e3c6e3ae9698fa64e2eb4ba49
+DIST cdecl-11.14.tar.gz 772235 BLAKE2B 665ac2ab9efb0bb356eb96265e56cc8592534aafe1ada2d6129704b221aed71063645eba8ca9d792b5785127f1e9d4b341157245291f8c1792d04747b8b80043 SHA512 c96f4cd29a8a1e632990dfe13db5a8bd9f0705e1d6899eea5b1b4aa59be7451c1878e1f0a7c618cb051b67f5b99f6ee3ed5c49679cfbd7e723bdece2355f1bf1
diff --git a/dev-util/cdecl/cdecl-11.14.ebuild b/dev-util/cdecl/cdecl-11.14.ebuild
new file mode 100644
index 000000000000..7e715e918523
--- /dev/null
+++ b/dev-util/cdecl/cdecl-11.14.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with readline)
+}