summaryrefslogtreecommitdiff
path: root/app-doc/selflinux/selflinux-0.13.0-r1.ebuild
blob: 5c90c39fc0ab6b4a2425d66c4cdc77dcd62c9431 (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 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
}