summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-08-24 14:13:47 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-08-24 14:13:47 +0000
commit82a92cabc86c9799389c4ba4a0798c89509a7116 (patch)
treecda840ee8155e56c24e8852108a14fd173c70d03 /sys-libs/libkudzu-knoppix
parentStable on sparc (diff)
downloadhistorical-82a92cabc86c9799389c4ba4a0798c89509a7116.tar.gz
historical-82a92cabc86c9799389c4ba4a0798c89509a7116.tar.bz2
historical-82a92cabc86c9799389c4ba4a0798c89509a7116.zip
Initial commit. Since this is the same build as the initial part of kudzu-knoppix, I have used the following KEYWORDS: ~alpha ~amd64 -mips ~ppc ~ppc64 ~sparc ~x86.
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'sys-libs/libkudzu-knoppix')
-rw-r--r--sys-libs/libkudzu-knoppix/ChangeLog12
-rw-r--r--sys-libs/libkudzu-knoppix/Manifest5
-rw-r--r--sys-libs/libkudzu-knoppix/files/digest-libkudzu-knoppix-1.1.361
-rw-r--r--sys-libs/libkudzu-knoppix/files/sunlance.patch12
-rw-r--r--sys-libs/libkudzu-knoppix/libkudzu-knoppix-1.1.36.ebuild43
-rw-r--r--sys-libs/libkudzu-knoppix/metadata.xml5
6 files changed, 78 insertions, 0 deletions
diff --git a/sys-libs/libkudzu-knoppix/ChangeLog b/sys-libs/libkudzu-knoppix/ChangeLog
new file mode 100644
index 000000000000..9c65435947fe
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sys-libs/libkudzu-knoppix
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu-knoppix/ChangeLog,v 1.1 2005/08/24 14:13:47 wolf31o2 Exp $
+
+*libkudzu-knoppix-1.1.36 (24 Aug 2005)
+
+ 24 Aug 2005; Chris Gianelloni <wolf31o2@gentoo.org> +files/sunlance.patch,
+ +metadata.xml, +libkudzu-knoppix-1.1.36.ebuild:
+ Initial commit. Since this is the same build as the initial part of
+ kudzu-knoppix, I have used the following KEYWORDS: ~alpha ~amd64 -mips ~ppc
+ ~ppc64 ~sparc ~x86.
+
diff --git a/sys-libs/libkudzu-knoppix/Manifest b/sys-libs/libkudzu-knoppix/Manifest
new file mode 100644
index 000000000000..c8aaed79eccd
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/Manifest
@@ -0,0 +1,5 @@
+MD5 0587800d9f0c496148d0c9a33c69b330 libkudzu-knoppix-1.1.36.ebuild 1082
+MD5 5608c7ddeff69dd62294aeb63b91b8e8 ChangeLog 563
+MD5 d86e5b5e47260e5a965eae2afe6d6d40 metadata.xml 159
+MD5 7cf6227fd7e640efa2462086ed448521 files/sunlance.patch 479
+MD5 5310a8dffb3e81e7c81fccd43d0ce18d files/digest-libkudzu-knoppix-1.1.36 74
diff --git a/sys-libs/libkudzu-knoppix/files/digest-libkudzu-knoppix-1.1.36 b/sys-libs/libkudzu-knoppix/files/digest-libkudzu-knoppix-1.1.36
new file mode 100644
index 000000000000..d86c15dff275
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/files/digest-libkudzu-knoppix-1.1.36
@@ -0,0 +1 @@
+MD5 bfe68a139a64937c13df69d14213cb5b kudzu-knoppix_1.1.36-2.tar.gz 708324
diff --git a/sys-libs/libkudzu-knoppix/files/sunlance.patch b/sys-libs/libkudzu-knoppix/files/sunlance.patch
new file mode 100644
index 000000000000..732d59aedb44
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/files/sunlance.patch
@@ -0,0 +1,12 @@
+diff -Nura kudzu-1.1.36/sbus.c kudzu-1.1.36.sunlance/sbus.c
+--- kudzu-1.1.36/sbus.c 2003-03-24 19:39:14.000000000 -0300
++++ kudzu-1.1.36.sunlance/sbus.c 2005-06-25 15:10:03.000000000 -0300
+@@ -162,7 +162,7 @@
+ devClass = CLASS_NETWORK;
+ } else if (!strcmp(prop, "le")) {
+ type = "Sun Lance Ethernet";
+- module = "ignore";
++ module = "sunlance";
+ devClass = CLASS_NETWORK;
+ } else if (!strcmp(prop, "qe")) {
+ prop = prom_getproperty("channel#", &len);
diff --git a/sys-libs/libkudzu-knoppix/libkudzu-knoppix-1.1.36.ebuild b/sys-libs/libkudzu-knoppix/libkudzu-knoppix-1.1.36.ebuild
new file mode 100644
index 000000000000..78010787924a
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/libkudzu-knoppix-1.1.36.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu-knoppix/libkudzu-knoppix-1.1.36.ebuild,v 1.1 2005/08/24 14:13:47 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/kudzu-knoppix_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 -mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/popt
+ sys-apps/hwdata-knoppix"
+DEPEND="${RDEPEND}
+ sys-apps/pciutils
+ !sys-libs/libkudzu
+ !sys-apps/kudzu
+ !sys-apps/kudzu-knoppix"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/sunlance.patch
+}
+
+src_compile() {
+ # Fix the modules directory to match Gentoo layout.
+ perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*
+
+ emake libkudzu.a RPM_OPT_FLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodir /etc/sysconfig
+ insinto /usr/include/kudzu
+ doins *.h
+ dolib.a libkudzu.a
+}
diff --git a/sys-libs/libkudzu-knoppix/metadata.xml b/sys-libs/libkudzu-knoppix/metadata.xml
new file mode 100644
index 000000000000..88653ddd7172
--- /dev/null
+++ b/sys-libs/libkudzu-knoppix/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>livecd</herd>
+</pkgmetadata>