forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Florian Schmaus <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST cdecl-13.2.release.tar.gz 1222634 BLAKE2B 7e2c8f81698a047e4ea318afcbfd2f1768b187324839108c2c4e4e32a09fd0921ee9391f32286ac14851fc03282be6d8e9838de69f446dbbd6035b185e26b752 SHA512 5bc7121864df9e71be34c6ca4609f1188a4e416fb91844b68256187d94bfd94b0aef19b91394b0fa0db63b973efa02da0b045744b74a2e0d78d9451dc9545bef | ||
DIST cdecl-14.0.release.tar.gz 1243688 BLAKE2B c43aff760305805d6ceeca136a1107120e2199c440dca935e1915dc55b75e0f49f60d651c377f3566b7a8c8d548b2db5006cb3477ce41cfe338c92e4f1c7041a SHA512 e079b2731020b819c6021854fb763e0094de6b361255dd7c98687ee064f5f8d67da3d4d2fe14c416edc20dfa73cb28d101f90f03c3c438506e5fe6063cc56f09 | ||
DIST cdecl-14.2.release.tar.gz 1263258 BLAKE2B b130f2d4b950c7dc0ddba3bcfba511f6964b20731f2a505fea33c9387a831f6aea05508a4f7d3fb4f6b512b57434657dcd984cb81f73f93c803341f21a4b8d8e SHA512 b39575e7a2e068aec88e7b975a56ca9d7a4a216a2ec20bcc4816c89df2827885f1aa5009acdb81c83f7f1e8585ff6bc6ce4b83efebac52cd6988e87f889ca480 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2021-2023 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 ~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 | ||
" | ||
|
||
src_configure() { | ||
econf \ | ||
$(use_with readline) \ | ||
$(use_enable ncurses term-size) \ | ||
$(use_enable debug bison-debug) \ | ||
$(use_enable debug flex-debug) | ||
} |