blob: fdbf783a25e055418f919423b7e8d3cd1a32b624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2022 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
DESCRIPTION="PKZIP-compatible compressor focusing on space over speed"
HOMEPAGE="http://www.jonof.id.au/kenutils"
SRC_URI="http://static.jonof.id.au/dl/kenutils/${P}-linux.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=${RDEPEND}
S="${WORKDIR}/${P}-linux"
QA_PREBUILT="/opt/bin/kzip
/opt/bin/zipmix"
src_install() {
exeinto /opt/bin
if use amd64; then dir=amd64
elif use arm; then dir=armv7
elif use arm64; then dir=aarch64
else dir=i686
fi
doexe "${dir}/kzip" "${dir}/zipmix"
dodoc readme.txt
}
|