# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.31.ebuild,v 1.5 2004/09/03 12:00:00 agriffis Exp $ DESCRIPTION="control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.)" HOMEPAGE="http://smartmontools.sf.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~alpha" IUSE="" src_compile() { econf || die emake ||die } src_install() { dosbin smart{ctl,d} doman *.8 *.5 dodoc AUTHORS CHANGELOG COPYING INSTALL NEWS README TODO WARNINGS dodoc smartd.conf exeinto /etc/init.d newexe ${FILESDIR}/smartd.rc smartd insinto /etc/conf.d; newins ${FILESDIR}/smartd.conf smartd insinto /etc; newins ${FILESDIR}/smartd.conf.example smartd.conf.example } pkg_postinst() { einfo "You can find an example smartd.conf file in" einfo "/etc/smartd.conf.example, which can be used" einfo "as a template for your own configuration file." einfo "Or you can simply verbatim copy it as /etc/smartd.conf" einfo "For more information on configuration options" einfo "see man 5 smartd.conf and man 8 smartd." }