summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zstd/Manifest1
-rw-r--r--app-arch/zstd/metadata.xml24
-rw-r--r--app-arch/zstd/zstd-1.3.5.ebuild53
3 files changed, 0 insertions, 78 deletions
diff --git a/app-arch/zstd/Manifest b/app-arch/zstd/Manifest
deleted file mode 100644
index a52a4aeb..00000000
--- a/app-arch/zstd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zstd-1.3.5.tar.gz 1706005 SHA512 a5347b132d6b79e6a7f39a4546cafc5cf85e8d01b765477011008908035789e914b1093e2b2405c75086f05a7bc87e29b69e10252260d747c5c056ce16f91661
diff --git a/app-arch/zstd/metadata.xml b/app-arch/zstd/metadata.xml
deleted file mode 100644
index cb5919e8..00000000
--- a/app-arch/zstd/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>martin@mvath.de</email>
- <name>Martin Väth</name>
- <description>maintainer of the updates in the mv overlay</description>
- </maintainer>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <use>
- <flag name="legacy">
- Enable support for decompression of files in legacy zstd format
- </flag>
- <flag name="lz4">
- Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg>
- </flag>
- </use>
- <upstream>
- <remote-id type="github">facebook/zstd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-arch/zstd/zstd-1.3.5.ebuild b/app-arch/zstd/zstd-1.3.5.ebuild
deleted file mode 100644
index b96e85f4..00000000
--- a/app-arch/zstd/zstd-1.3.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors and Martin V\"ath
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-RESTRICT="mirror"
-inherit toolchain-funcs
-
-DESCRIPTION="zstd fast compression library"
-HOMEPAGE="https://facebook.github.io/zstd/"
-SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="legacy lz4 static-libs"
-
-RDEPEND="app-arch/xz-utils
- lz4? ( app-arch/lz4 )"
-DEPEND="${RDEPEND}"
-
-src_compile() {
- local emake_args=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)"
- PREFIX="${EPREFIX}/usr"
- LIBDIR="${EPREFIX}/usr/$(get_libdir)"
- )
- use legacy || emake_args+=(ZSTD_LEGACY_SUPPORT=8)
- emake "${emake_args[@]}" HAVE_LZ4=$(usex lz4 1 0) zstd
-
- emake -C lib "${emake_args[@]}" libzstd
-
- emake -C contrib/pzstd "${emake_args[@]}"
-}
-
-src_install() {
- local emake_args=(
- DESTDIR="${D}"
- PREFIX="${EPREFIX}/usr"
- LIBDIR="${EPREFIX}/usr/$(get_libdir)"
- )
- use legacy || emake_args+=(ZSTD_LEGACY_SUPPORT=8)
- emake "${emake_args[@]}" install
-
- emake -C contrib/pzstd "${emake_args[@]}" install
-
- einstalldocs
-
- if ! use static-libs; then
- rm "${ED}"/usr/$(get_libdir)/libzstd.a || die
- fi
-}