blob: 8f6ae17b54bea561b341895fcf2b241f04e9a12e (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.17.ebuild,v 1.1 2009/11/04 22:27:00 eva Exp $
EAPI="2"
inherit eutils
DESCRIPTION="Lean and small library for ATA S.M.A.R.T. hard disks"
HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html"
SRC_URI="http://0pointer.de/public/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-fs/udev"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}/${P}-cross-compile.patch"
${S}/bootstrap.sh
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README || die "dodoc failed"
rm -rf "${D}"/usr/share/doc/${PN} || die "rm failed"
}
|