1 # Copyright © 2021-2022 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
8 inherit multiprocessing
10 DESCRIPTION="Explain and construct C declarations"
11 HOMEPAGE="http://draconx.ca/projects/cdecl99/"
12 SRC_URI="http://draconx.ca/archive/$PN/$P.tar.xz"
16 KEYWORDS="~amd64 ~arm ~sparc ~x86"
17 IUSE="static-libs nls readline"
19 RDEPEND="nls? ( virtual/libintl )
20 readline? ( sys-libs/readline:= )"
25 --enable-shared $(use_enable static-libs static) \
26 $(use_with readline) \
33 use static-libs || find "$ED" -name '*.la' -delete
37 emake TESTSUITEFLAGS="-j$(makeopts_jobs)" check