Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 666294
Collapse All | Expand All

(-)a/media-gfx/igal/igal-2.0-r2.ebuild (+39 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
MY_P=${PN}2-${PV}
7
8
DESCRIPTION="Static HTML image gallery generator"
9
HOMEPAGE="http://igal.trexler.at"
10
SRC_URI="http://${PN}.trexler.at/${MY_P}.tar.gz"
11
12
LICENSE="GPL-2"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
15
16
RDEPEND="dev-lang/perl
17
	virtual/imagemagick-tools
18
	virtual/jpeg"
19
20
S="${WORKDIR}/${MY_P}"
21
22
src_prepare() {
23
	default
24
	sed -e "s:/usr/local/lib/igal2:/usr/share/igal2:g" \
25
		-i igal2 -i igal2.1 || die
26
	sed -i -e "s:/usr/local/bin/igal2:/usr/bin/igal2:" \
27
		utilities/igal2.sh || die
28
}
29
30
src_compile() { :; }
31
32
src_install() {
33
	dobin igal2 utilities/igal2.sh
34
	dosym igal2 /usr/bin/igal
35
	doman igal2.1
36
	dodoc ChangeLog README
37
	insinto /usr/share/igal2
38
	doins *.html tile.png igal2.css
39
}

Return to bug 666294