blob: 7240ff8fc5b7b803257b72f0029ea789928892b1 (
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-2023 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="https://www.jonof.id.au/kenutils"
SRC_URI="https://www.jonof.id.au/files/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
}
|