summaryrefslogtreecommitdiff
blob: 24b48e2142ab402a542061ea3736b89a3d8794b7 (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.4 2003/06/29 15:24:07 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="http://ftp.debian.org/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
}