summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-11-02 09:19:36 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-11-02 09:19:36 +0100
commit9adf95e5311de2c0c42e203a73b370f282745480 (patch)
tree255c9b8ba29966396a00758cb72d15133253fa32
parentprofiles: add prefix/darwin/macos/13.0 profiles (diff)
downloadgentoo-9adf95e5311de2c0c42e203a73b370f282745480.tar.gz
gentoo-9adf95e5311de2c0c42e203a73b370f282745480.tar.bz2
gentoo-9adf95e5311de2c0c42e203a73b370f282745480.zip
dev-util/cdecl: add 13.0
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--dev-util/cdecl/Manifest1
-rw-r--r--dev-util/cdecl/cdecl-13.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/cdecl/Manifest b/dev-util/cdecl/Manifest
index 8468f4af4a86..98ffe83a1e6c 100644
--- a/dev-util/cdecl/Manifest
+++ b/dev-util/cdecl/Manifest
@@ -1 +1,2 @@
DIST cdecl-12.0.tar.gz 801393 BLAKE2B f1b506e633da62ff058901add3c986431144d37c4f1a1b29de69b9fed4992d0976bbc6002859a35c2436fb150c5c91b6ce3c412e772db5f2e566c80bad9f6473 SHA512 4d8ccdc898afb0fc64d7ac984cfa20b99b2d06679d298328bcfc13cc2da1cf6d19c57258dfac85d70ad9fd779f7bfe08b2ce89ef0c7013cf2fadc6079ca5819f
+DIST cdecl-13.0.tar.gz 806096 BLAKE2B bf80f4ecab84cb110d0875505e02d72fbb36e22c8daf37634b37befc2ded7756dcda01c8f8f2ef8de01ba95d46d33fea65dd5d12fe28bb6b671c04517c0c2cf8 SHA512 40630ceeb43f3d0fac380035a3100afaa05899244c02701781a5d38adc0200494dc9ee1089d921c3909bace03f151a1023a9e1996034681580b8b4e2b89e4cf5
diff --git a/dev-util/cdecl/cdecl-13.0.ebuild b/dev-util/cdecl/cdecl-13.0.ebuild
new file mode 100644
index 000000000000..29e783a6ccdc
--- /dev/null
+++ b/dev-util/cdecl/cdecl-13.0.ebuild
@@ -0,0 +1,40 @@
+# 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="debug readline ncurses"
+
+DEPEND="
+ ncurses? ( 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) \
+ $(use_enable ncurses term-size) \
+ $(use_enable debug bison-debug) \
+ $(use_enable debug flex-debug)
+}