From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 620B4158041 for ; Fri, 22 Mar 2024 05:33:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 632D3E29E6; Fri, 22 Mar 2024 05:33:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47113E29E6 for ; Fri, 22 Mar 2024 05:33:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AD86342FA3 for ; Fri, 22 Mar 2024 05:33:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5BCC15C0 for ; Fri, 22 Mar 2024 05:33:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1711085509.05405d84105e30ec29a354539a921c08aeef2c40.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cddlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/cddlib/cddlib-094m-r2.ebuild X-VCS-Directories: sci-libs/cddlib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 05405d84105e30ec29a354539a921c08aeef2c40 X-VCS-Branch: master Date: Fri, 22 Mar 2024 05:33:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 713efa32-15f3-4271-ab4b-4b7bf742069a X-Archives-Hash: d6cc640b93a2afed2d5355813c5b0f07 commit: 05405d84105e30ec29a354539a921c08aeef2c40 Author: Eli Schwartz gmail com> AuthorDate: Thu Mar 21 06:20:36 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 22 05:31:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05405d84 sci-libs/cddlib: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/cddlib/cddlib-094m-r2.ebuild | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/sci-libs/cddlib/cddlib-094m-r2.ebuild b/sci-libs/cddlib/cddlib-094m-r2.ebuild new file mode 100644 index 000000000000..521abc9a7448 --- /dev/null +++ b/sci-libs/cddlib/cddlib-094m-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +# This can't work forever; but for now, it's better than hard-coding the +# correct version string. +MY_PV="${PV:0:1}.${PV:1}" +QA_PKGCONFIG_VERSION="${MY_PV}" + +MY_P="${PN}-${MY_PV}" +DESCRIPTION="C library implementing the Double Description Method" +HOMEPAGE="https://www.inf.ethz.ch/personal/fukudak/cdd_home/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs tools" + +DEPEND="dev-libs/gmp:0" +RDEPEND="dev-libs/gmp:0=" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if ! use tools; then + rm "${ED}"/usr/bin/* || die + fi + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + # Nobody wants the dvi/ps manual... + rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die + + # since the PDF manual is installed by default. + if ! use doc; then + rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die + fi + + # The docs and examples are *both* installed by default, so we + # have to remove the examples if the user doesn't want them. + docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} + if ! use examples; then + rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die + fi +}