mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
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 <sjg@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
8d58c8f93d
commit
c95615982a
1
sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/app-arch/lzop/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST lzop-1.03.tar.gz 370775 RMD160 306c454f52632b14740d6b00c1b315f0221fb45b SHA1 4ee0b49b2a6b0a13572ddca5785ee48ef4c8f80f SHA256 c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909dbb2c9
|
32
sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild
vendored
Normal file
32
sdk_container/src/third_party/portage-stable/app-arch/lzop/lzop-1.03.ebuild
vendored
Normal file
@ -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
|
||||||
|
}
|
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-arch/lzop-1.03
vendored
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user