commit:     450b510f3e0d76ad2d183f463ac6447550736cdc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 22:25:00 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 22:27:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450b510f

app-arch/clzip: Package one more lzip variant, v1.13

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-arch/clzip/Manifest          |  1 +
 app-arch/clzip/clzip-1.13.ebuild | 28 ++++++++++++++++++++++++++++
 app-arch/clzip/metadata.xml      |  8 ++++++++
 3 files changed, 37 insertions(+)

diff --git a/app-arch/clzip/Manifest b/app-arch/clzip/Manifest
new file mode 100644
index 000000000000..7dcb444c2cb3
--- /dev/null
+++ b/app-arch/clzip/Manifest
@@ -0,0 +1 @@
+DIST clzip-1.13.tar.gz 123369 BLAKE2B 
3d6b205aa7c60e04baddcf826d3da709f58b5796c95ac348a77e9d997ab68dda750c65b78ba50656a6c986146bc87da8b3503c86a3e0d568c9e6b1550aad5997
 SHA512 
7b9943f3e971cb9cabadb3b0832c23984c9329cb48bbfa6fd0780146b6b3d612386b6ca8c6e688c05470e3e3474b688dfb3228ba6aff2093ea1d781eba5f2791

diff --git a/app-arch/clzip/clzip-1.13.ebuild b/app-arch/clzip/clzip-1.13.ebuild
new file mode 100644
index 000000000000..571001a3d9fe
--- /dev/null
+++ b/app-arch/clzip/clzip-1.13.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="C language version of lzip"
+HOMEPAGE="https://www.nongnu.org/lzip/clzip.html";
+SRC_URI="https://download.savannah.gnu.org/releases/lzip/clzip/${P/_/-}.tar.gz";
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_configure() {
+       # not autotools-based
+       local myconf=(
+               --prefix="${EPREFIX}"/usr
+               CC="$(tc-getCC)"
+               CPPFLAGS="${CPPFLAGS}"
+               CFLAGS="${CFLAGS}"
+               LDFLAGS="${LDFLAGS}"
+       )
+
+       ./configure "${myconf[@]}" || die
+}

diff --git a/app-arch/clzip/metadata.xml b/app-arch/clzip/metadata.xml
new file mode 100644
index 000000000000..076793e3f54b
--- /dev/null
+++ b/app-arch/clzip/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mgo...@gentoo.org</email>
+               <name>Michał Górny</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to