summaryrefslogtreecommitdiff
blob: a824085bda218b23feced8d42d8cb04bc520cfc1 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hwreport/hwreport-0.9.4.ebuild,v 1.1 2008/01/13 22:54:56 opfer Exp $

DESCRIPTION="Collect system informations for the hardware4linux.info site"
HOMEPAGE="http://hardware4linux.info/"
SRC_URI="http://hardware4linux.info/res/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=">=sys-apps/dmidecode-2.8 >=sys-apps/pciutils-2.2.0"

src_compile() {
	cc -o scan-printers scan-printers.c
}


src_install() {
	dobin hwreport
	dobin scan-printers
	einfo "You can now generate your reports and post them on $HOMEPAGE"
}
pkg_postinst() {
	elog "You can now generate your reports and post them on $HOMEPAGE"
}