blob: d2165f52b14dc44258db09fc9e225e24060223e3 (
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
|
# Copyright 1999-2022 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
DESCRIPTION="Optimize the size of .PNG files losslessly"
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/{$PN}"
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}/${PN}"
dodoc readme.txt
}
|