summaryrefslogtreecommitdiff
blob: 0f83cd4bbd4da79d8ac3775dfa9cb6bf7cff59fe (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/modconf/modconf-0.2.43.ebuild,v 1.5 2003/09/20 19:56:29 aliz Exp $

# Some notes:  This should rather depend on dev-libs/newt, and use whiptail,
#              not dev-util/dialog.
#
#              I could not get it to edit module options, but mostly because I
#              have 2.5 on this box, and a limited 2.4 on my gateway, so it
#              "should" work, but is not really tested.

inherit eutils

IUSE=""

S="${WORKDIR}/${P}"
DESCRIPTION="Modconf provides a GUI for installing and configuring device driver modules."
SRC_URI="mirror://debian/pool/main/m/modconf/${P/-/_}.tar.gz"
HOMEPAGE="http://packages.debian.org/stable/base/modconf.html"

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

DEPEND="dev-util/dialog
	virtual/modutils"

pkg_setup() {
	check_KV
}

src_unpack() {
	unpack ${A}

	cd ${S}; epatch ${FILESDIR}/${P}-gentoo.patch
}

src_compile() {
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
}