mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
31 lines
903 B
Bash
31 lines
903 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Utility for fast (even real-time) compression/decompression"
|
|
HOMEPAGE="https://www.lzop.org/"
|
|
SRC_URI="https://www.lzop.org/download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
|
|
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() {
|
|
# do not install COPYING or redundant conversions of manpage
|
|
emake DESTDIR="${D}" install \
|
|
dist_doc_DATA="AUTHORS NEWS README THANKS"
|
|
}
|