blob: 4868ccb3775a0c18b47bc50fddda9a245d9684e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.30.ebuild,v 1.8 2005/01/02 23:52:22 ciaranm 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_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.confd smartd
}
pkg_postinst() {
einfo "You can find an example smartd.conf file in"
einfo "/usr/share/doc/${PF}/smartd.conf.gz"
einfo "Just place it in /etc/ as smartd.conf"
}
|