# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/watchdog/watchdog-5.2.5_p1.ebuild,v 1.2 2006/05/26 12:18:38 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/watchdog/watchdog-5.2.5_p1.ebuild,v 1.3 2006/06/07 12:49:13 vapier Exp $
inherit eutils
epatch "${WORKDIR}"/${MY_P}-${PATCH_LEVEL}.diff
}
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
-}
-
src_install() {
make DESTDIR="${D}" install || die "make install failed"
- newconfd ${FILESDIR}/${P}-conf.d ${PN}
- newinitd ${FILESDIR}/${P}-init.d ${PN}
+ newconfd "${FILESDIR}"/${P}-conf.d ${PN}
+ newinitd "${FILESDIR}"/${P}-init.d ${PN}
dodoc AUTHORS README TODO
docinto examples
dodoc examples/*
}
-
-pkg_postinst() {
- einfo
- einfo "To enable the start-up script run:"
- einfo " # rc-update add watchdog boot"
- einfo
-}