summaryrefslogtreecommitdiff
path: root/sys-apps/pv
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 /sys-apps/pv
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/pv')
-rw-r--r--sys-apps/pv/Manifest7
-rw-r--r--sys-apps/pv/metadata.xml11
-rw-r--r--sys-apps/pv/pv-1.6.0-r1.ebuild51
-rw-r--r--sys-apps/pv/pv-1.6.6.ebuild54
4 files changed, 123 insertions, 0 deletions
diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest
new file mode 100644
index 000000000000..451d59bce5da
--- /dev/null
+++ b/sys-apps/pv/Manifest
@@ -0,0 +1,7 @@
+DIST pv-1.6.0.tar.bz2 107723 SHA256 0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d SHA512 bd405901812ca50b910adbcf1d2c540dc0b8612f03687866734a79cfa5b5b8100024c18a1d1413c6613e1f2085989cbb77907da89bec7eda37cdeaa7597129d5 WHIRLPOOL 51312339fa1815a61f58fa0f49b0538289d0308b17c5d03c4c6a7e371052e9911d09cb7a9c1eb032b797a3f56eaa7e5dbfecaf6fb2c1faf3fd1b34c298782c1f
+DIST pv-1.6.6.tar.bz2 109220 SHA256 608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1 SHA512 cc841b4bd00e4e8fcaed97da094ebac4a11af1c3f843ce5f73d0c3ab20aca29498c6b1a224c653d40127304d8269d96f413df66b980809e9278ff9544c834a26 WHIRLPOOL 0afb22c8fb84ed632ddf0657d0d8e2e054a08c16b14cf314b62b76a1afe79911b2c7133dc5ae7567c398305c9dd64d9dd8b2c9f97f4027faeac6d2ec32dfaabb
+EBUILD pv-1.6.0-r1.ebuild 1391 SHA256 4c94d2796c0b7597823ae423086fe226e4b2d08a95f8a1b2f564fb315faba638 SHA512 63861b0ffa75feca60f9c18b230999f6e24067d6a51124127b6251871ea3a024c4a74b551945c0c3150c70590968a2dfd05b5b8637dc47020b1e05742812599e WHIRLPOOL 9aea4119c22404b98032812d833527baf0b070d2eac372062c7f404870e4b8f99bdbaa6d164a3708322547ce0b5d83233d484ccb5b204c4605151632d5c59f8a
+EBUILD pv-1.6.6.ebuild 1411 SHA256 976c9c8195363f30a1b5f14d07c1ade42cfba80f7669a1b23aa6f62b0927757e SHA512 9899cc2a3459e7e7a1c5204a541e6512daf67d4d5c62d116d078e0bbc7c70cc51f724291eff5ee7da4d0319ecf1fcfe194f6cdadf212bb3d2db44fe574184406 WHIRLPOOL ea3410f80ffc91c5fdf31f9b4ed445a7cc1c24095251c9dd0fac4fa1539a6c31b7a6f19650667ed7eb87a02f201cab688bc1b919cacbb0ddbb326df0650affa1
+MISC ChangeLog 2533 SHA256 5ff542d682ebda5c9b6c0692c34c5e7b095d5fe77763bc870fad22a83df08960 SHA512 d00db5e42d3ee37081d5b05304e9469cde9c26d19c389c25093fd2bd1be2fa984ecf9db5ff0d49cfa75a7c6429cae280b240cbc1a4624245692a93ac6c49ce66 WHIRLPOOL e78eb00908b49964269daa6f1b93d194f7828a7f99db3ef21e8cd90cd3ef7490e19e9a20d37e7fc946a809ea321df3c351bd871aed6d555e298954547ca3e3e3
+MISC ChangeLog-2015 15934 SHA256 ccd9a4ff4622d4a221493c0b057c5ffde470082f4e1250b98aed259e976eac5a SHA512 95e937a14ca3442a5a4e5a8d40a27fbd274bcd58890ad177ce9669a95d1512cb497aa5491cf03f076603707c50a5a266407c8a83a482cd735e120c87ab420800 WHIRLPOOL 78c7c8ee2e6f55a4d34d9f995b959bce28240a51d2aee47502989c3f70247214c53dc10d21187149c0488ba780a82ac108ae683e1a2fc075b774b85bf61a83f2
+MISC metadata.xml 334 SHA256 0af2bdf2bf3fb34d7cda7f01bd8ffe38a4302df2da0ccf28e1be1bf7be987678 SHA512 ae252c205325a4937f8ab6c60c8be5a032ff8f11087b7a1fe737ed9c4fa6325b34dbcab9bc16467096de93baa330cec51909f72686cc4152d653fd1456333fb3 WHIRLPOOL fd85470603aea915be2cfeda3e86fe4f5e801b3cf1fb275a0608a7eeeca0568074528a68c39c50864d60ce9c89dfa98b0cbd1f0c6ed32a87d826ba1d9d889072
diff --git a/sys-apps/pv/metadata.xml b/sys-apps/pv/metadata.xml
new file mode 100644
index 000000000000..b9de93a595ea
--- /dev/null
+++ b/sys-apps/pv/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">pipeviewer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-apps/pv/pv-1.6.0-r1.ebuild b/sys-apps/pv/pv-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..1a443a659545
--- /dev/null
+++ b/sys-apps/pv/pv-1.6.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
+HOMEPAGE="http://www.ivarch.com/programs/pv.shtml"
+SRC_URI="http://www.ivarch.com/programs/sources/${P}.tar.bz2"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris"
+IUSE="debug nls"
+
+PV_LINGUAS=( de fr pl pt )
+IUSE+=" ${PV_LINGUAS[@]/#/linguas_}"
+
+DOCS=( README doc/NEWS doc/TODO )
+
+pkg_setup() {
+ if use kernel_linux; then
+ CONFIG_CHECK="~SYSVIPC"
+ ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option."
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die
+ # These should produce the same end result (working `pv`).
+ sed -i \
+ -e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \
+ autoconf/make/modules.mk~ || die
+}
+
+src_configure() {
+ tc-export AR
+ local lingua
+ for lingua in ${PV_LINGUAS[@]}; do
+ if ! use linguas_${lingua}; then
+ sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die
+ fi
+ done
+ econf $(use_enable debug debugging) $(use_enable nls)
+}
+
+src_test() {
+ sed -i -e 's:usleep 200000 || ::g' tests/019-remote-cksum || die
+ default
+}
diff --git a/sys-apps/pv/pv-1.6.6.ebuild b/sys-apps/pv/pv-1.6.6.ebuild
new file mode 100644
index 000000000000..b3b8222481a9
--- /dev/null
+++ b/sys-apps/pv/pv-1.6.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
+HOMEPAGE="http://www.ivarch.com/programs/pv.shtml"
+SRC_URI="http://www.ivarch.com/programs/sources/${P}.tar.bz2"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris"
+IUSE="debug nls"
+
+PV_LINGUAS=( de fr pl pt )
+IUSE+=" ${PV_LINGUAS[@]/#/linguas_}"
+
+DOCS=( README doc/NEWS doc/TODO )
+
+pkg_setup() {
+ if use kernel_linux; then
+ CONFIG_CHECK="~SYSVIPC"
+ ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option."
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ default
+
+ sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die
+
+ # These should produce the same end result (working `pv`).
+ sed -i \
+ -e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \
+ autoconf/make/modules.mk~ || die
+}
+
+src_configure() {
+ tc-export AR
+ local lingua
+ for lingua in ${PV_LINGUAS[@]}; do
+ if ! use linguas_${lingua}; then
+ sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die
+ fi
+ done
+ econf $(use_enable debug debugging) $(use_enable nls)
+}
+
+src_test() {
+ sed -i -e 's:usleep 200000 || ::g' tests/019-remote-cksum || die
+ default
+}