From c95615982a2a149750aa00388a130b199a2f59f6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Aug 2012 14:47:33 -0400 Subject: [PATCH] lzop: import from upstream Gentoo We want to run it in the host chroot to generate images. BUG=chrome-os-partner:12644 TEST=`emerge lzop` worked Change-Id: I02f684b05ac973090ce42a87a647fe90f1bab9fe Reviewed-on: https://gerrit.chromium.org/gerrit/30266 Reviewed-by: Simon Glass Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- .../portage-stable/app-arch/lzop/Manifest | 1 + .../app-arch/lzop/lzop-1.03.ebuild | 32 +++++++++++++++++++ .../metadata/md5-cache/app-arch/lzop-1.03 | 11 +++++++ 3 files changed, 44 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03 diff --git a/sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest b/sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest new file mode 100644 index 0000000000..18b535c45a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest @@ -0,0 +1 @@ +DIST lzop-1.03.tar.gz 370775 RMD160 306c454f52632b14740d6b00c1b315f0221fb45b SHA1 4ee0b49b2a6b0a13572ddca5785ee48ef4c8f80f SHA256 c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909dbb2c9 diff --git a/sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild new file mode 100644 index 0000000000..9c5740b0ca --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lzop/lzop-1.03.ebuild,v 1.9 2011/08/25 20:24:32 mattst88 Exp $ + +EAPI=2 + +DESCRIPTION="Utility for fast (even real-time) compression/decompression" +HOMEPAGE="http://www.lzop.org/" +SRC_URI="http://www.lzop.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-libs/lzo-2" +DEPEND="${RDEPEND}" + +src_test() { + einfo "compressing config.status to test" + src/lzop config.status || die 'compression failed' + ls -la config.status{,.lzo} + src/lzop -t config.status.lzo || die 'lzo test failed' + src/lzop -dc config.status.lzo | diff config.status - || die 'decompression generated differences from original' +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README THANKS + dodoc doc/lzop.{txt,ps} + dohtml doc/*.html +} diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03 new file mode 100644 index 0000000000..f7a9c408bd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03 @@ -0,0 +1,11 @@ +DEFINED_PHASES=install test +DEPEND=>=dev-libs/lzo-2 +DESCRIPTION=Utility for fast (even real-time) compression/decompression +EAPI=2 +HOMEPAGE=http://www.lzop.org/ +KEYWORDS=amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris +LICENSE=GPL-2 +RDEPEND=>=dev-libs/lzo-2 +SLOT=0 +SRC_URI=http://www.lzop.org/download/lzop-1.03.tar.gz +_md5_=5427508dd0750d74b6a420b8c9a6f715