blob: 93ef898b43da0697ecfd304de6d3d9d92ba68c79 (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 2002 Gentoo Technologies, Inc
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/smartsuite/smartsuite-2.1.ebuild,v 1.2 2002/07/25 13:48:39 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Suite to control and monitor storage devices using SMART technology."
HOMEPAGE="http://www.linux-ide.org/smart.html"
SRC_URI="mirror://sourceforge/smartsuite/${P}.tar.gz
http://www.linux-ide.org/smart/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
sed -e "/^CFLAGS/ s/-O2/$CFLAGS/" < Makefile > Makefile.hacked
mv Makefile.hacked Makefile
}
src_compile() {
emake || die
}
src_install() {
dosbin smartctl smartd
doman smartctl.8 smartd.8
insinto /etc/init.d
newins ${FILESDIR}/smartd.rc smartd
dodoc CHANGELOG TODO COPYING README
}
|