summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-30 02:40:39 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-30 02:40:39 +0000
commit862a668cff7fee5560513dd80e5708d5a27cf82c (patch)
tree3ebdf682223dc119f12f4ffd99582980647c624b /app-admin/watchdog
parentChanged einstall||die to einstall (diff)
downloadgentoo-2-862a668cff7fee5560513dd80e5708d5a27cf82c.tar.gz
gentoo-2-862a668cff7fee5560513dd80e5708d5a27cf82c.tar.bz2
gentoo-2-862a668cff7fee5560513dd80e5708d5a27cf82c.zip
Changed src_install () to src_install()
Diffstat (limited to 'app-admin/watchdog')
-rw-r--r--app-admin/watchdog/watchdog-5.2.ebuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/app-admin/watchdog/watchdog-5.2.ebuild b/app-admin/watchdog/watchdog-5.2.ebuild
index 6db3cbaec830..ed940e059d2c 100644
--- a/app-admin/watchdog/watchdog-5.2.ebuild
+++ b/app-admin/watchdog/watchdog-5.2.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.ebuild,v 1.10 2002/10/29 16:48:49 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/watchdog-5.2.ebuild,v 1.11 2002/11/30 02:40:39 vapier Exp $
-S="${WORKDIR}/${P}"
DESCRIPTION="A software watchdog."
HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/daemons/watchdog/"
SRC_URI="http://www.ibiblio.org/pub/Linux/system/daemons/watchdog/${P}.tar.gz"
@@ -13,24 +12,19 @@ KEYWORDS="x86 -ppc"
DEPEND="virtual/glibc"
src_unpack() {
-
- unpack ${A}
- cd ${S}
+ unpack ${A} ; cd ${S}
patch -p1 < ${FILESDIR}/sundries.diff || die "patch failed"
-
}
src_compile() {
# Two configure switches have been added to use /etc/watchdog
econf \
--sysconfdir=/etc/watchdog \
- --with-configfile=/etc/watchdog/watchdog.conf \
- || die "./configure failed"
-
+ --with-configfile=/etc/watchdog/watchdog.conf
emake || die
}
-src_install () {
+src_install() {
dodir /etc/watchdog
make DESTDIR="${D}" install || die
@@ -38,7 +32,7 @@ src_install () {
doexe "${FILESDIR}/${PVR}/watchdog"
}
-pkg_postinst () {
+pkg_postinst() {
einfo
einfo "To enable the start-up script run \"rc-update add watchdog boot\"."
einfo