blob: 32c55693e7bd1afb480fa2d166bce983f6d29e39 (
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
43
44
45
46
47
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/discover/discover-2.0.7.ebuild,v 1.8 2007/05/21 21:34:42 armin76 Exp $
DESCRIPTION="Library and front-end for retrieving information about a system's hardware"
HOMEPAGE="http://alioth.debian.org/projects/pkg-discover/"
SRC_URI="http://archive.progeny.com/progeny/discover/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc -sparc x86"
IUSE="pcmcia test"
RDEPEND="pcmcia? ( virtual/linux-sources )
net-misc/curl
dev-libs/expat"
DEPEND="${RDEPEND}
test? ( dev-libs/check )"
PDEPEND="sys-apps/discover-data"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e '/curl_libs=.*sed/d' \
configure || die #108695
if ! type -p docbook-to-man > /dev/null ; then
if type -p docbook2man > /dev/null ; then
sed -i 's:docbook-to-man:docbook2man:' doctools/docbook.mk
else
sed -i 's:docbook-to-man:echo:' doctools/docbook.mk
fi
fi
}
src_compile() {
local myconf=""
use pcmcia \
&& myconf="--with-pcmcia-headers=/usr/src/linux/include"
econf ${myconf} || die
emake || die
}
src_install() {
einstall || die
dodoc AUTHORS README RELEASE
}
|