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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F8B01382C5 for ; Wed, 17 Mar 2021 07:37:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF394E0815; Wed, 17 Mar 2021 07:37:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7034E0815 for ; Wed, 17 Mar 2021 07:37:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31FFC340F14 for ; Wed, 17 Mar 2021 07:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 436AD5AE for ; Wed, 17 Mar 2021 07:37:07 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1615966616.ae005981a01198a4dbf61a671f4654fea42f81bf.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/zlib-ng/Manifest sys-libs/zlib-ng/metadata.xml sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild X-VCS-Directories: sys-libs/zlib-ng/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ae005981a01198a4dbf61a671f4654fea42f81bf X-VCS-Branch: master Date: Wed, 17 Mar 2021 07:37:07 +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: b5a4c2c9-58d9-4a1f-8e5f-d9f25b368bc6 X-Archives-Hash: f59ebab95522a04e44ec4456216f08aa commit: ae005981a01198a4dbf61a671f4654fea42f81bf Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 17 07:35:33 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 17 07:36:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae005981 sys-libs/zlib-ng: Initial commit Signed-off-by: Lars Wendler gentoo.org> sys-libs/zlib-ng/Manifest | 1 + sys-libs/zlib-ng/metadata.xml | 11 +++++++++++ sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest new file mode 100644 index 00000000000..db6011f474d --- /dev/null +++ b/sys-libs/zlib-ng/Manifest @@ -0,0 +1 @@ +DIST zlib-ng-2.0.0.tar.gz 696194 BLAKE2B 1e59d42028fc1cb300b1361dc95e4e7dca45b581d0d068722099b4254b795db5e2638b351da2cc1fd873841e9183a3ae4b168bd39dcde826ed4dc5aefe3ad1cd SHA512 8f5ba6a030d363a654ff3ff6a3536aa5301e6836e43743b8ab8ca87e06fcb009ce6adef79c4a46c9d89d2b167135e5d4dda70431f7ff431316e166ea6efbe099 diff --git a/sys-libs/zlib-ng/metadata.xml b/sys-libs/zlib-ng/metadata.xml new file mode 100644 index 00000000000..28389c0890a --- /dev/null +++ b/sys-libs/zlib-ng/metadata.xml @@ -0,0 +1,11 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + zlib-ng/zlib-ng + + diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild new file mode 100644 index 00000000000..6ed5ef9c1fb --- /dev/null +++ b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# $Id: 688f948c5f3067e775bfab5057e8047f467a9ca9 $ + +EAPI=7 + +inherit cmake + +DESCRIPTION="zlib data compression library" +HOMEPAGE="https://github.com/zlib-ng/zlib-ng" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="ZLIB" +SLOT="0" + +#KEYWORDS="~amd64 ~x86" +IUSE="compat test" + +src_prepare() { + cmake_src_prepare + sed "/LIB_INSTALL_DIR/s@/lib\"@/$(get_libdir)\"@" \ + -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DZLIB_COMPAT="$(usex compat)" + -DZLIB_ENABLE_TESTS="$(usex test)" + ) + cmake_src_configure +}