blob: 4d84524e968730db2ea7cfc7a631063377e69245 (
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
38
39
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/disc-cover/disc-cover-1.5.4.ebuild,v 1.12 2006/01/31 23:06:01 dju Exp $
DESCRIPTION="Creates CD-Covers via Latex by fetching cd-info from freedb.org or local file"
HOMEPAGE="http://www.vanhemert.co.uk/disc-cover.html"
SRC_URI="http://www.vanhemert.co.uk/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc amd64"
IUSE=""
DEPEND="dev-lang/perl
>=sys-apps/sed-4"
RDEPEND="dev-lang/perl
>=dev-perl/Audio-CD-disc-cover-0.05
virtual/tetex"
src_compile() {
sed -i -e "s#/usr/share/disc-cover/#/etc/webapps/${PF}/#" disc-cover
pod2man disc-cover > disc-cover.1 || die
}
src_install() {
dobin disc-cover || die
doman disc-cover.1
dodoc AUTHORS CHANGELOG TODO
exeinto /usr/share/webapps/${PF}/cgi-bin/
doexe index.cgi online.cgi
insinto /usr/share/webapps/${PF}/htdocs/
doins busy.png offline.png online.png
insinto /etc/webapps/${PF}/templates
doins templates/*
}
|