summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-13 00:28:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-13 00:28:35 +0000
commit54756f5e370fd9f9c7efa87fe57785806971cfbc (patch)
tree3f97af5b0997a769bfe95270d75add14f1e26faa /media-video/nvclock
parentadded need_apache2 + some minor fixes (diff)
downloadgentoo-2-54756f5e370fd9f9c7efa87fe57785806971cfbc.tar.gz
gentoo-2-54756f5e370fd9f9c7efa87fe57785806971cfbc.tar.bz2
gentoo-2-54756f5e370fd9f9c7efa87fe57785806971cfbc.zip
clean up
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-video/nvclock')
-rw-r--r--media-video/nvclock/nvclock-0.7-r1.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/media-video/nvclock/nvclock-0.7-r1.ebuild b/media-video/nvclock/nvclock-0.7-r1.ebuild
index 8953114c07ca..a7bfaa4f0fde 100644
--- a/media-video/nvclock/nvclock-0.7-r1.ebuild
+++ b/media-video/nvclock/nvclock-0.7-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.7-r1.ebuild,v 1.5 2004/10/06 09:17:27 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.7-r1.ebuild,v 1.6 2005/02/13 00:28:35 vapier Exp $
inherit eutils
@@ -15,10 +15,11 @@ SLOT="0"
KEYWORDS="x86"
IUSE="gtk qt"
-DEPEND="virtual/libc
- sys-devel/autoconf
+RDEPEND="virtual/libc
gtk? ( =x11-libs/gtk+-2* )
qt? ( =x11-libs/qt-3* )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf"
src_unpack() {
unpack ${A}
@@ -43,15 +44,12 @@ src_compile() {
}
src_install() {
- dodir /usr/bin /etc/init.d /etc/conf.d
+ dodir /usr/bin
einstall || die
+ dodoc AUTHORS README
- cp ${FILESDIR}/nvclock_initd ${D}/etc/init.d/nvclock
- cp ${FILESDIR}/nvclock_confd ${D}/etc/conf.d/nvclock
-
- chmod a+x ${D}/etc/init.d/nvclock
-
- dodoc AUTHORS COPYING README
+ newinitd ${FILESDIR}/nvclock_initd nvclock
+ newconfd ${FILESDIR}/nvclock_confd nvclock
}
pkg_postinst() {