summaryrefslogtreecommitdiff
blob: 0cf73fb55c9ff4eb643949770fc2ca57fcf0ccca (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
48
49
50
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="lists system information available to the OS"
HOMEPAGE="http://osinfo.berlios.de"
SRC_URI="ftp://ftp.berlios.de/pub/${PN}/${P}.tar.bz2"

S="${WORKDIR}/${PN}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#IUSE="devices hdd html tcp"
IUSE="" #no use flags until Makefile understands to drop a module

DEPEND=""
RDEPEND="sys-devel/bc
		|| ( sys-apps/gawk sys-apps/mawk )
		dev-libs/libxslt
		sys-apps/lshw
		sys-apps/pciutils
		sys-apps/usbutils
		sys-apps/hdparm
		app-admin/hddtemp
		>=sys-apps/smartmontools-5.36
		|| ( net-analyzer/netcat net-analyzer/netcat6 net-analyzer/gnu-netcat )"

src_install() {
	dobin osinfo
	doman man/osinfo.1
	dodoc docs/*
}

pkg_postinst() {
	elog
	elog "Osinfo is still beta; you can help be addressing bugs at"
	elog "the osinfo mailinglist: osinfo@lists.berlios.de"
	elog
	elog "Osinfo has many nice features that are not obvious at first."
	elog "You can create an HTML document of the computers in your"
	elog "LAN, and run osinfo in daemon mode on a box with Apache server."
	elog "Send the xml sheet to the daemon with the --tcpsend option."
	elog "These features are still incomplete, not installed by the ebuild,"
	elog "but you can help to improve them!"
	elog
	elog "You can freely add more modules to osinfo. Check the source"
	elog "code inside the tarball. Thank you for interest."
	elog
}