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-12.0.tar.gz 801393 BLAKE2B f1b506e633da62ff058901add3c986431144d37c4f1a1b29de69b9fed4992d0976bbc6002859a35c2436fb150c5c91b6ce3c412e772db5f2e566c80bad9f6473 SHA512 4d8ccdc898afb0fc64d7ac984cfa20b99b2d06679d298328bcfc13cc2da1cf6d19c57258dfac85d70ad9fd779f7bfe08b2ce89ef0c7013cf2fadc6079ca5819f | ||
DIST cdecl-13.0.release.tar.gz 1250042 BLAKE2B 36bb16d0454d8586a990ee2eafe2b205831aef0f3d396b01b77a8d0992ac614f1e0b408028bd9339e6f430302a32dcaa3b0c96eb8299819bc8167c497afd45bf SHA512 4d102f24d462b85331673af27735c35e86aefbe0665adad3367d94dfd68b18e7c378c3bfb7fce0d84ddbf25884d79e903016242a63c6fd00a2e604017cb9c80f | ||
DIST cdecl-13.1.release.tar.gz 1210834 BLAKE2B d5892ee626b80793a0959f1cef527694a10198e3ce4992773d5a3d8ab60732f0c3e97332c30749e54f16749b5171550a79bc613db01c81bb593bfa69169f216e SHA512 82706b16091a7f79c786e0edbc86333001375148ddbfd88cabe892bedce7b184046979df021403bb346e5de6dcbfaee4f1bd19841f74c0347278a256ee8d31e0 |
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) | ||
} |