summaryrefslogtreecommitdiff
blob: c78288d47e3f828d2b8ff99e3d7c64d709648c38 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_P="SelfLinux-${PV}"

DESCRIPTION="A german-language hypertext tutorial about Linux"
HOMEPAGE="https://www.selflinux.org/"
SRC_URI="https://www.selflinux.org/download/${MY_P}/${MY_P}-html.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="FDL-1.1+"
SLOT="0"
KEYWORDS="amd64 ppc ~riscv x86"

HTML_DOCS=( "." )

BDEPEND="media-gfx/pngcrush"

src_prepare() {
	default

	# Fix all png files, as they report "broken IDAT window length"
	for png_file in bilder/mwm_mwm_mwm*; do
		pngcrush -fix -force -ow "${png_file}" || die
	done
}