summaryrefslogtreecommitdiff
path: root/app-arch/pigz
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/pigz
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/pigz')
-rw-r--r--app-arch/pigz/Manifest5
-rw-r--r--app-arch/pigz/metadata.xml15
-rw-r--r--app-arch/pigz/pigz-2.3.4.ebuild38
3 files changed, 58 insertions, 0 deletions
diff --git a/app-arch/pigz/Manifest b/app-arch/pigz/Manifest
new file mode 100644
index 000000000000..18fbca7ba02c
--- /dev/null
+++ b/app-arch/pigz/Manifest
@@ -0,0 +1,5 @@
+DIST pigz-2.3.4.tar.gz 105412 SHA256 6f031fa40bc15b1d80d502ff91f83ba14f4b079e886bfb83221374f7bf5c8f9a SHA512 c0d5da6c5b2da50841aaf3958d5694edca0356d4bef211175e9f2f17e0c815e80b2e62bb39c7761c8f83fdaa84ca7373e130cdb0fa2c96f91c397556cbf7ba2a WHIRLPOOL 971bb8b9c4504b67af0793f7eb199a2abbdb62a0151fed43ec4a50fb9e325a8c6e331bc7a8e417f633ae395e88865e82f4b15b9cba5534178776b18ffd8261e2
+EBUILD pigz-2.3.4.ebuild 939 SHA256 520ee1c96d3561a9332faa40819b80cf7e8778aeb780ad6781e04d7333d5b702 SHA512 302e35b9d71cc701aa80e51db4f15bb59ca2e539195fe15d765249cc7bad3e914bb5e0786a2c949b1916373a4d53f60fe009c58e1b9f4e2a4f43d4e697ca1804 WHIRLPOOL 55d8345284508dd165357c4f91aa844ba8b766ac0ae3a3a3def8bb678bed524d76407d4ae23b3c0908e970310c822bb5d807fadcc365e995dc9b95f422c78236
+MISC ChangeLog 3599 SHA256 527e26cd9ca67bf072d59e876e82b97655b222642657e22055008e3fe628c129 SHA512 18b69b52ae22034ac265cb5563a076883337fc1ed98db1ecd304cd3e7a34441ebcd0894f851f94a0db2cac5dcc91840504c60e1ac0ef6a7659da920b057d1c38 WHIRLPOOL b4e565d8bae536673a8f08ccfa3d84f1e49033e2033c74126f36bb6c39836142ddcc3986f4406fefb20ceed093d375a922e73952f414a0af97eb042ae8f3f172
+MISC ChangeLog-2015 5805 SHA256 28f1c5ae6ff8cdf225c62b81b48411a365ed35d77db96b8bacb39843aca0f355 SHA512 cea95adb36d42317fd7503a5e936fa0672bffbbaba4b8341458c6bf350e0f1ee1c2c3b97541c1541af60ca7e49977f7d55926cdf25d0d912a7c62010abf7ef95 WHIRLPOOL 5d0b546425fcea28755973593fb41912ff3825143d9feec015075c98fadc922c75b930bc5815694f3a37e074b0b3cfc25936aa5b5b8f556327bed4ba9bcc9ff2
+MISC metadata.xml 499 SHA256 5e2eb8e72e69ee7d4c3d0595829989e9d4c757945a74a5c2aea7bb5118b2373f SHA512 7c954984f01ee2bf1bb9b8f0840445fed7f47899188a884462c59a862bef568845c2cb81a966aa6d46222d45ab7a9fabfc24b1bb4d178f9f8fb1789554ca87fe WHIRLPOOL d6a1a7de2d6d7e66ddf227febe50bde3980ef00b1df8acb71771333c4e253e2b25e8a08740bb211ef894e127bec18d5c28d6704aadd81c03f8a4bce810b0acd5
diff --git a/app-arch/pigz/metadata.xml b/app-arch/pigz/metadata.xml
new file mode 100644
index 000000000000..478203e0a5c1
--- /dev/null
+++ b/app-arch/pigz/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <longdescription lang="en">
+ A parallel implementation of gzip for modern
+ multi-processor, multi-core machines.
+ </longdescription>
+ <use>
+ <flag name="symlink">Install symlinks which override <pkg>app-arch/gzip</pkg> implementation</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-arch/pigz/pigz-2.3.4.ebuild b/app-arch/pigz/pigz-2.3.4.ebuild
new file mode 100644
index 000000000000..575fbbfdcbab
--- /dev/null
+++ b/app-arch/pigz/pigz-2.3.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="A parallel implementation of gzip"
+HOMEPAGE="http://www.zlib.net/pigz/"
+SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
+IUSE="static symlink test"
+
+LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+ test? ( app-arch/ncompress )"
+
+src_compile() {
+ use static && append-ldflags -static
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dosym ${PN} /usr/bin/un${PN}
+ dodoc README
+ doman ${PN}.1
+
+ if use symlink; then
+ dosym ${PN} /usr/bin/gzip
+ dosym un${PN} /usr/bin/gunzip
+ fi
+}