blob: 25d5efc3be635427c21d8234eb6c5fe09241266b (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.4.6.ebuild,v 1.3 2007/01/06 14:53:38 zzam Exp $
inherit eutils
DESCRIPTION="WWW Admin for the Video Disk Recorder"
HOMEPAGE="http://andreas.vdr-developer.org/"
SRC_URI="http://andreas.vdr-developer.org/download/${P}.tar.bz2"
KEYWORDS="~x86 ~amd64"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
RDEPEND="dev-lang/perl
dev-perl/Template-Toolkit
>=dev-perl/Compress-Zlib-1.2.2
media-video/vdr
dev-perl/Compress-Zlib
dev-perl/Locale-gettext
dev-perl/Authen-SASL
dev-perl/Digest-HMAC"
ETCDIR="/etc/vdradmin"
LIBDIR="/usr/share/vdradmin"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
einfo "no need to compile"
}
src_install() {
doinitd ${FILESDIR}/vdradmin
dobin vdradmind.pl
insinto ${LIBDIR}/template
doins -r ${S}/template/*
insinto ${LIBDIR}/lib
doins -r ${S}/lib/*
insinto /usr/share/locale/
doins -r ${S}/locale/*
dodoc COPYING HISTORY INSTALL CREDITS README* REQUIREMENTS FAQ
docinto contrib
dodoc ${S}/contrib/*
keepdir /etc/vdradmin
dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind.pl
}
pkg_postinst() {
elog
elog "run \"vdradmind.pl -c\" to setup ..."
elog "if this is a new install"
elog
}
|