diff options
author | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2019-01-22 12:56:27 +0100 |
---|---|---|
committer | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2019-01-22 12:56:27 +0100 |
commit | f7b7df2da789550f34d886c37a6b679b073cd68d (patch) | |
tree | 6cac2358e7b06ee0f9917b0e665a1b00c0f5d318 /app-arch | |
parent | sci-biology/samri: dropped python2 support (diff) | |
download | sci-f7b7df2da789550f34d886c37a6b679b073cd68d.tar.gz sci-f7b7df2da789550f34d886c37a6b679b073cd68d.tar.bz2 sci-f7b7df2da789550f34d886c37a6b679b073cd68d.zip |
app-arch/libdeflate: new package
Add highly CPU optimized implementation of deflate/zlib/gzip
The package is highly preferred due to its speed by:
sci-biology/io_lib-1.14.11
sci-libs/htslib-1.9
and maybe some more
* Searching for libdeflate ...
* Contents of app-arch/libdeflate-1.2:
/usr
/usr/bin
/usr/bin/libdeflate-gunzip
/usr/bin/libdeflate-gzip
/usr/include
/usr/include/libdeflate.h
/usr/lib
/usr/lib/libdeflate.so -> libdeflate.so.0
/usr/lib/libdeflate.so.0
/usr/share
/usr/share/doc
/usr/share/doc/libdeflate-1.2
/usr/share/doc/libdeflate-1.2/NEWS.bz2
/usr/share/doc/libdeflate-1.2/README.md.bz2
Seems the libdeflate-gunzip and libdeflate-gzip have statically
linked in /usr/lib/libdeflate.a (which is deleted but later
in src_install() unless USE=static-libs . Probably something to
inspected but more experienced devs.
I am not interested in maintaining this package in Gentoo
(I would be happy if somebody from other herds take this over).
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libdeflate/Manifest | 1 | ||||
-rw-r--r-- | app-arch/libdeflate/libdeflate-1.2.ebuild | 29 | ||||
-rw-r--r-- | app-arch/libdeflate/metadata.xml | 12 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-arch/libdeflate/Manifest b/app-arch/libdeflate/Manifest new file mode 100644 index 000000000..ae40e25f9 --- /dev/null +++ b/app-arch/libdeflate/Manifest @@ -0,0 +1 @@ +DIST libdeflate-1.2.tar.gz 133494 BLAKE2B cd43b691bda16134ee1d2cdeeea8e5bab7bd8b841dec41fcf93ca0b3383f9c465e095fc7c97b743dc34c2bd6a1d340f8bfda4f4448af832cfec0240965957ffa SHA512 181b53ee9aea96b2520e287824573d111eeacaeae2011e093ca4d4fdd77e4e09bd261d741fac567302cf031058779ccc775dce1f603a05810b0c3b7d96b26fdb diff --git a/app-arch/libdeflate/libdeflate-1.2.ebuild b/app-arch/libdeflate/libdeflate-1.2.ebuild new file mode 100644 index 000000000..dd65e7aef --- /dev/null +++ b/app-arch/libdeflate/libdeflate-1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression" +HOMEPAGE="https://github.com/ebiggers/libdeflate" +SRC_URI="https://github.com/ebiggers/libdeflate/archive/v1.2.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare(){ + sed -e 's/ -O2 / /' -i Makefile || die + default +} + +src_install() { + default + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi +} diff --git a/app-arch/libdeflate/metadata.xml b/app-arch/libdeflate/metadata.xml new file mode 100644 index 000000000..138cb7705 --- /dev/null +++ b/app-arch/libdeflate/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mmokrejs@fold.natur.cuni.cz</email> + <name>Martin Mokrejs</name> + </maintainer> + <maintainer type="project"> + <email>sci-biology@gentoo.org</email> + <name>Gentoo Biology Project</name> + </maintainer> +</pkgmetadata> |