summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2005-08-21 21:37:33 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2005-08-21 21:37:33 +0000
commit2c6668d86576e6b6f32f746ab7c248c3c289e392 (patch)
tree70fee199ef7270f66d6d59f70564052091ec2197 /media-video
parentCorrect KDE dependency (#83058). (diff)
downloadgentoo-2-2c6668d86576e6b6f32f746ab7c248c3c289e392.tar.gz
gentoo-2-2c6668d86576e6b6f32f746ab7c248c3c289e392.tar.bz2
gentoo-2-2c6668d86576e6b6f32f746ab7c248c3c289e392.zip
changed ownership of config-files and renamed some variables
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vdr/ChangeLog5
-rw-r--r--media-video/vdr/Manifest2
-rw-r--r--media-video/vdr/vdr-1.3.27.ebuild42
3 files changed, 34 insertions, 15 deletions
diff --git a/media-video/vdr/ChangeLog b/media-video/vdr/ChangeLog
index 01900f034ec8..8e290111c484 100644
--- a/media-video/vdr/ChangeLog
+++ b/media-video/vdr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/vdr
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.17 2005/08/14 16:35:49 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.18 2005/08/21 21:37:33 zzam Exp $
+
+ 21 Aug 2005; Matthias Schwarzott <zzam@gentoo.org> vdr-1.3.27.ebuild:
+ changed ownership of config-files and renamed some variables
14 Aug 2005; Matthias Schwarzott <zzam@gentoo.org> vdr-1.3.27.ebuild:
add keyword ~amd64
diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest
index 7c412d9d9f69..ee897958687c 100644
--- a/media-video/vdr/Manifest
+++ b/media-video/vdr/Manifest
@@ -1,5 +1,5 @@
MD5 ed73745f0560d6fcecae19dfd61babe0 vdr-1.2.6-r1.ebuild 1404
-MD5 7a5d6d03c6d059d09bdfecd832a1860e vdr-1.3.27.ebuild 3807
+MD5 b6029c85214e2923922bb4511418c764 vdr-1.3.27.ebuild 4112
MD5 5a503bc48babafb51e4f3eb7ca10d901 ChangeLog 2341
MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225
MD5 aa18122fb081cdc19d419d53ad1f63de files/vdr-1.2.6_CAN-2005-0071.patch 893
diff --git a/media-video/vdr/vdr-1.3.27.ebuild b/media-video/vdr/vdr-1.3.27.ebuild
index 62dc6a0407dd..a52e39e269bb 100644
--- a/media-video/vdr/vdr-1.3.27.ebuild
+++ b/media-video/vdr/vdr-1.3.27.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.3.27.ebuild,v 1.4 2005/08/14 16:35:49 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.3.27.ebuild,v 1.5 2005/08/21 21:37:33 zzam Exp $
inherit eutils
@@ -44,14 +44,17 @@ DEPEND="${_DEPEND}
)"
# Relevant Pathes for vdr on gentoo
-DVBDIR=/usr/include
-VDRDIR=/usr/include/vdr
-PLUGINDIR=/usr/lib/vdr/plugins
-CONFDIR=/etc/vdr
+DVB_DIR=/usr/include
+VDR_INCLUDE_DIR=/usr/include/vdr
+PLUGIN_DIR=/usr/lib/vdr/plugins
+CONF_DIR=/etc/vdr
+RC_DIR=/usr/lib/vdr/rcscript
+CAP_FILE=${S}/vdr-capabilities.sh
+VDR_HOME=/var/vdr
pkg_setup() {
enewgroup vdr
- enewuser vdr -1 /bin/bash /var/vdr vdr,video
+ enewuser vdr -1 /bin/bash ${VDR_HOME} vdr,video
}
src_unpack() {
@@ -69,9 +72,9 @@ src_unpack() {
#
# Generated by ebuild ${PF}
#
- DVBDIR = ${DVBDIR}
- PLUGINLIBDIR = ${PLUGINDIR}
- CONFIGDIR = ${CONFDIR}
+ DVBDIR = ${DVB_DIR}
+ PLUGINLIBDIR = ${PLUGIN_DIR}
+ CONFIGDIR = ${CONF_DIR}
DEFINES += -DCONFIGDIR=\"\$(CONFIGDIR)\"
EOT
@@ -135,6 +138,8 @@ src_compile() {
test -n "${myconf}" && einfo "Compiling with: ${myconf}"
emake ${myconf} || die "compilation failed"
+
+ touch ${CAP_FILE}
}
src_install() {
@@ -142,17 +147,28 @@ src_install() {
doexe vdr
doexe svdrpsend.pl
- insinto /usr/include/vdr
+ insinto ${VDR_INCLUDE_DIR}
doins *.h
doins Make.config
- insinto /etc/vdr
+ diropts -m755 -ovdr -gvdr
+ keepdir ${CONF_DIR}
+ keepdir ${CONF_DIR}/plugins
+ keepdir ${VDR_HOME}
+
+ insinto ${CONF_DIR}
+ insopts -m0644 -ovdr -gvdr
doins *.conf channels.conf.*
+ insopts -m0644
+ diropts -m755
- keepdir "${PLUGINDIR}"
- keepdir /var/vdr
+
+ keepdir "${PLUGIN_DIR}"
doman vdr.1 vdr.5
+
+ insinto ${RC_DIR}
+ doins ${CAP_FILE}
}
pkg_postinst() {