From a9bbf67df4cb3cf8e0b0d1d2ec087077133cd44e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 Dec 2012 17:20:17 -0500 Subject: [PATCH] pv: upgraded package to upstream Upgraded sys-apps/pv to version 1.3.4 on amd64, arm, x86 BUG=chromium-os:31052 TEST=`cbuildbot chromiumos-sdk` worked TEST=`cbuildbot {amd64,arm,x86}-generic-full` worked TEST=`image_to_usb.sh` worked Change-Id: I81e35f430eb0788e31a79f2403c036284dd08896 Reviewed-on: https://gerrit.chromium.org/gerrit/39864 Tested-by: Mike Frysinger Reviewed-by: Richard Barnette Commit-Queue: Mike Frysinger --- .../metadata/md5-cache/sys-apps/pv-1.3.4 | 11 ++++++ .../portage-stable/sys-apps/pv/Manifest | 1 + .../sys-apps/pv/pv-1.3.4.ebuild | 37 +++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/pv-1.3.4 create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.3.4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/pv-1.3.4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/pv-1.3.4 new file mode 100644 index 0000000000..391c0d07e1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/pv-1.3.4 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure +DESCRIPTION=Pipe Viewer: a tool for monitoring the progress of data through a pipe +EAPI=4 +HOMEPAGE=http://www.ivarch.com/programs/pv.shtml +IUSE=nls linguas_de linguas_fr linguas_pl linguas_pt +KEYWORDS=alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris +LICENSE=Artistic-2 +SLOT=0 +SRC_URI=http://www.ivarch.com/programs/sources/pv-1.3.4.tar.gz +_eclasses_=multilib 5f4ad6cf85e365e8f0c6050ddd21659e toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 +_md5_=932531f37a678aff44499ce78e19fa4e diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest new file mode 100644 index 0000000000..0b0544415c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest @@ -0,0 +1 @@ +DIST pv-1.3.4.tar.gz 96322 RMD160 4750570b771cc02c9fe7a15e88396344191253ef SHA1 7e7d8ed45508396e9c4ee828681e97b62ad7817c SHA256 279bfb8ef71f6bbbc738aa8742c6f4eb7a24fd5049a43ede586a91e73da137c0 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.3.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.3.4.ebuild new file mode 100644 index 0000000000..035db2d03e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.3.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.3.4.ebuild,v 1.8 2012/08/26 17:34:41 armin76 Exp $ + +EAPI="4" + +inherit 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.gz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" + +IUSE="nls" +PV_LINGUAS="de fr pl pt" +for lingua in ${PV_LINGUAS}; do + IUSE+=" linguas_${lingua}" +done + +DOCS=( README doc/NEWS doc/TODO ) + +src_configure() { + 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 nls) +} + +src_compile() { + emake LD="$(tc-getLD)" +}