new dev-util/cdecl
authorJustin Wind <justin.wind+git@gmail.com>
Mon, 19 Jul 2021 18:17:45 +0000 (11:17 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Mon, 19 Jul 2021 18:17:45 +0000 (11:17 -0700)
dev-util/cdecl/Manifest
dev-util/cdecl/cdecl-10.2.ebuild [new file with mode: 0644]
dev-util/cdecl/cdecl-2.5-r2.ebuild [deleted file]

index 834547eef34351b5b53511c382743192ad4891a0..d72651509f9828dc5136fc585922701a0138590d 100644 (file)
@@ -1,5 +1,6 @@
-AUX cdecl-2.5-implicit-pointer.patch 502 SHA256 0dadb6e9869547ebe654fec16fc61b14b4e2006c8ff9b181aa9bb7eac5645e8b SHA512 25e499642f8ebfe3b7d39343e48beaaa99ef501dbb1304f4fd046a1a80013ef8faf5e7c153a927066738e9a3d287fd3af88301f3d0b56b04c6a9b4b02c11c8a5 WHIRLPOOL 58f497bdc820ad969546de197ade06f9d96c9d7cc78c3b177f513114f98e3914068591e685d586d55377a5965ac799eacdd90aea6aba7e4b5dfa59fd23d07675
-AUX cdecl-2.5.patch 1891 SHA256 29be443674ab4b330cf0ed152263db0539df02ad5cd30a7010cb7a9bcfdd1ad6 SHA512 f0fa8d70d5e02693ac88952e8957b30e9a7c514ba8ce53eec8bf17d234871ea5f6192aa8289e38e1ad13665fb3911a9512c57428022bfcaaa5f76a38b3027221 WHIRLPOOL e9fbfb171965822968a65a659932151a00a7273ba02f5e6cbbdb3cbeb0e1100f636706f99e261d88d1b1abf0eb4342b6466343059422477da6310fdb96acfbb9
-DIST cdecl-2.5.tar.gz 21435 SHA256 b74caef08407a2195d6f1facf103e5af29253f67d599486164241b14ee42a936 SHA512 15495f5a794d11f964297c1f39f2f62f89778cd2e791b93f7e6cf16f321a71205a1f9366960f62b030022699e8abacaa5b402a304fb2eab8c00c83b9a4d0b419 WHIRLPOOL b9a3cc84689e2c60db6e733de0a3d428be4e5537908c132f69f2d27618ed8f4064faeb2faae7d20b9811088c7adf33838185eee2102710e4a9906638391883f9
-EBUILD cdecl-2.5-r2.ebuild 1038 SHA256 ca0e31d1cbc9972f3654812b014fd1a81a904b7abf37189afb221dae1929c2a3 SHA512 14636bec2ea21c7fae0744abf7c7e6dbc928fc51a6e69b8c09864daf34d65bc1256c9afd30c6e5ffdc83ece14d34ac8408c396f7a0f9450b869d3a5f79e7f1ea WHIRLPOOL fa2e288cf0cb95a465b8f01108d81e705562b05ea08969f40e0b04e6e8b7268393e6cbead270dca2a53022b9e891bbe3422dbde4454f60eb4470b0b281894108
-MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
+AUX cdecl-2.5-implicit-pointer.patch 502 BLAKE2B 1171d4c9b5f59f700a8ce56b4c79849ca6d776387196f5ff99c2a2978ac0608c1627132b7165f6eb54d8b344835a986cb03dc596783d8b3454c1fd4c36609ad3 SHA512 25e499642f8ebfe3b7d39343e48beaaa99ef501dbb1304f4fd046a1a80013ef8faf5e7c153a927066738e9a3d287fd3af88301f3d0b56b04c6a9b4b02c11c8a5
+AUX cdecl-2.5.patch 1891 BLAKE2B 5de4d5b4892cf412cd2f5f82e96139d38bde0c2d29b2b218a4ae451717b99632d8d27a37dc02e7bee17636c6b3707614e15f7336e5c75dfea8b86e382bd30c40 SHA512 f0fa8d70d5e02693ac88952e8957b30e9a7c514ba8ce53eec8bf17d234871ea5f6192aa8289e38e1ad13665fb3911a9512c57428022bfcaaa5f76a38b3027221
+DIST cdecl-10.2.tar.gz 1095089 BLAKE2B ab74673576e6cb089ecf4fb024fbc6d4a240ac01ec61a259da7a551bc6b55dc845ad274816189fa0ddf6d8f7dbfca99229434f89d2de24b2dc66ed7210a8daa5 SHA512 81b7a3eff72da72b0be8a12b299cd6c7046091804f8c9c3ed48df18a3d3f4e8a16e7275a9424924c413887814118c456248b20ca3d5e5f7db72f89f81d1a2c55
+EBUILD cdecl-10.2.ebuild 650 BLAKE2B a9fbd1aca5cd9b2653eeffffadba5e558b29f064504e69ae16b9fea1ea1b996a5280515b61dee4b823fbeeef95a40860d37caebcd12b6503fb8617759a26f598 SHA512 ec431dd8f8624cc05bf40899356e131eff7042969d45ce2e17a62d00aaf93915fde647d6e48297a274fa04ae36648e00a37da4274641a00d829f085b7534776e
+MISC cdecl-2.5-r2.ebuild.old 1038 BLAKE2B c2567dee31f0af9f5e549f910dc3ca3eb8a158e6ba2310405033b05c874cb75326dbcbfddb4abef738553eb3d04877974389d1dc4ea52c955993da4241cb00f2 SHA512 14636bec2ea21c7fae0744abf7c7e6dbc928fc51a6e69b8c09864daf34d65bc1256c9afd30c6e5ffdc83ece14d34ac8408c396f7a0f9450b869d3a5f79e7f1ea
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/dev-util/cdecl/cdecl-10.2.ebuild b/dev-util/cdecl/cdecl-10.2.ebuild
new file mode 100644 (file)
index 0000000..247a7dd
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+#inherit eutils toolchain-funcs
+
+DESCRIPTION="Compose and decipher C (or C++) declarations or casts, aka 'gibberish.'"
+SRC_URI="https://github.com/paul-j-lucas/cdecl/releases/download/${P}/${P}.tar.gz"
+HOMEPAGE="https://github.com/paul-j-lucas/cdecl"
+
+KEYWORDS="amd64 x86"
+LICENSE="public-domain"
+SLOT="0"
+
+RDEPEND="readline? (
+                       sys-libs/ncurses
+                       sys-libs/readline
+                       )"
+
+DEPEND="${RDEPEND}
+               || (
+                       dev-util/yacc
+                       sys-devel/bison
+                       )
+               !<dev-util/cutils-1.6-r2"
+
+IUSE="readline"
+
+src_install() {
+       emake DESTDIR="${D}" install
+}
diff --git a/dev-util/cdecl/cdecl-2.5-r2.ebuild b/dev-util/cdecl/cdecl-2.5-r2.ebuild
deleted file mode 100644 (file)
index caf02af..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Turn English phrases to C or C++ declarations"
-SRC_URI="ftp://ftp.netsw.org/softeng/lang/c/tools/cdecl/${P}.tar.gz"
-HOMEPAGE="http://www.boutell.com/lsm/lsmbyid.cgi/002103"
-
-KEYWORDS="amd64 ~mips ppc x86"
-LICENSE="public-domain"
-SLOT="0"
-
-RDEPEND="readline? (
-                       sys-libs/ncurses
-                       sys-libs/readline
-                       )"
-
-DEPEND="${RDEPEND}
-               || (
-                       dev-util/yacc
-                       sys-devel/bison
-                       )
-               !<dev-util/cutils-1.6-r2"
-
-IUSE="readline"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}/${P}.patch"
-       epatch "${FILESDIR}/${P}-implicit-pointer.patch"
-}
-
-src_compile() {
-       CFLAGS="${CFLAGS} --std=c90"
-       if use readline; then
-               CFLAGS="${CFLAGS} -DUSE_READLINE"
-               LIBS="${LIBS} -lreadline -lncurses"
-       fi
-       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" || die
-}
-
-src_install() {
-       dobin cdecl
-       dohard /usr/bin/cdecl /usr/bin/c++decl
-       dodoc README
-       doman *.1
-}