blob: fc6cd610bf7cca895b5e04142482464799c4a6f1 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ide-smart/ide-smart-1.4.ebuild,v 1.8 2002/08/16 02:21:27 murphy Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A tool to read SMART (or S.M.A.R.T) information from harddiscs."
SRC_URI="http://lightside.eresmas.com/${P}.tar.gz"
HOMEPAGE="http://lightside.eresmas.com/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc sparc64"
DEPEND="virtual/glibc"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A} ; cd ${S}
mv Makefile Makefile.orig
rm ide-smart ide-smart.o
sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \
-e "s:^#CC.*:CC = gcc:" \
Makefile.orig > Makefile
}
src_compile() {
emake || die
}
src_install () {
dobin ide-smart
doman ide-smart.8
dodoc README COPYING
}
|