summaryrefslogtreecommitdiff
blob: 368d9c219da19b8c7b984061f4c453dacf5ea82c (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
# Copyright 1999-2004 Gentoo Foundation
# 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.19 2004/06/24 21:29:17 agriffis Exp $

DESCRIPTION="A tool to read SMART information from harddiscs"
HOMEPAGE="http://lightside.eresmas.com/"
SRC_URI="http://lightside.eresmas.com/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc"
IUSE=""

DEPEND="virtual/glibc"

src_unpack() {
	unpack ${A} ; cd ${S}
	rm ide-smart ide-smart.o
	sed -i -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \
		-e "s:^#CC.*:CC = gcc:" \
		Makefile
}

src_compile() {
	emake || die
}

src_install() {
	dobin ide-smart || die
	doman ide-smart.8
	dodoc README
}