summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-05-31 20:15:03 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-05-31 20:15:03 +0000
commitfaa85bc55b57d2cb1062254d65a2a373561e4cf9 (patch)
treec3a018657e7e6b5e10662eb2049d8df14d807740 /sys-apps/kudzu-knoppix
parentStable on hppa (diff)
downloadgentoo-2-faa85bc55b57d2cb1062254d65a2a373561e4cf9.tar.gz
gentoo-2-faa85bc55b57d2cb1062254d65a2a373561e4cf9.tar.bz2
gentoo-2-faa85bc55b57d2cb1062254d65a2a373561e4cf9.zip
Added minimal and python USE flags and closing bug #89010.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/kudzu-knoppix')
-rw-r--r--sys-apps/kudzu-knoppix/ChangeLog8
-rw-r--r--sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r21
-rw-r--r--sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild89
3 files changed, 97 insertions, 1 deletions
diff --git a/sys-apps/kudzu-knoppix/ChangeLog b/sys-apps/kudzu-knoppix/ChangeLog
index 00e2c0500b11..5235191af8d9 100644
--- a/sys-apps/kudzu-knoppix/ChangeLog
+++ b/sys-apps/kudzu-knoppix/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/kudzu-knoppix
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/ChangeLog,v 1.17 2005/05/18 20:11:53 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/ChangeLog,v 1.18 2005/05/31 20:15:03 wolf31o2 Exp $
+
+*kudzu-knoppix-1.1.36-r2 (31 May 2005)
+
+ 31 May 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +kudzu-knoppix-1.1.36-r2.ebuild:
+ Added minimal and python USE flags and closing bug #89010.
18 May 2005; Sven Wegener <swegener@gentoo.org>
kudzu-knoppix-1.1.36-r1.ebuild:
diff --git a/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2 b/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2
new file mode 100644
index 000000000000..d86c15dff275
--- /dev/null
+++ b/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2
@@ -0,0 +1 @@
+MD5 bfe68a139a64937c13df69d14213cb5b kudzu-knoppix_1.1.36-2.tar.gz 708324
diff --git a/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild b/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild
new file mode 100644
index 000000000000..ba1cdef44b63
--- /dev/null
+++ b/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild,v 1.1 2005/05/31 20:15:03 wolf31o2 Exp $
+
+inherit eutils
+
+MY_PV=${PV}-2
+S=${WORKDIR}/kudzu-${PV}
+DESCRIPTION="Knoppix version of the Red Hat hardware detection tools"
+HOMEPAGE="http://www.knopper.net/"
+SRC_URI="http://developer.linuxtag.net/knoppix/sources/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc ~alpha -sparc -mips ~ppc64"
+IUSE="livecd nls minimal python"
+
+RDEPEND="!livecd? ( ~minimal? (dev-libs/newt ) )
+ dev-libs/popt
+ sys-apps/hwdata-knoppix"
+DEPEND="$RDEPEND
+ !livecd? ( nls? ( sys-devel/gettext ) )
+ !livecd? ( !minimal? ( sys-libs/slang ) )
+ sys-apps/pciutils
+ !livecd? ( !minimal? ( >=dev-libs/dietlibc-0.20 ) )
+ !sys-apps/kudzu"
+
+src_unpack() {
+ unpack ${A}
+ if ! use nls; then
+ epatch "${FILESDIR}/${P}-nonls-v4.patch" || die "epatch failed"
+ fi
+}
+
+src_compile() {
+ # Fix the modules directory to match Gentoo layout.
+ perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*
+
+ if use livecd; then
+ emake libkudzu.a || die
+ elif use minimal; then
+ emake updfstab || die
+ else
+ emake || die
+ fi
+
+ if use x86 || use ppc; then
+ if ! use livecd && ! use minimal; then
+ cd ddcprobe || die
+ emake || die
+ fi
+ fi
+}
+
+src_install() {
+ if use livecd; then
+ dodir /etc/sysconfig
+ insinto /usr/include/kudzu
+ doins *.h
+ dolib.a libkudzu.a
+ elif use minimal; then
+ dodir /etc/sysconfig
+ insinto /usr/include/kudzu
+ doins *.h
+ dolib.a libkudzu.a
+ dosbin updfstab
+ insinto /etc
+ doins updfstab.conf*
+ elif use python; then
+ make install install-program DESTDIR=${D} || die "Install failed"
+ else
+ make installdata install-program DESTDIR=${D} || die "Install failed"
+ fi
+
+ if ! use livecd && ! use minimal; then
+ # Init script isn't appropriate
+ rm -rf ${D}/etc/rc.d
+ # Add our own init scripts
+ newinitd ${FILESDIR}/${PN/-knoppix}.rc ${PN/-knoppix} || die
+ newconfd ${FILESDIR}/${PN/-knoppix}.conf.d ${PN/-knoppix} || die
+ fi
+
+ if use x86 || use ppc; then
+ if ! use livecd && ! use minimal; then
+ cd ${S}/ddcprobe || die
+ dosbin ddcxinfo ddcprobe || die
+ fi
+ fi
+}