diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-12 14:17:35 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-12 14:17:35 +0000 |
commit | a8be25a73ddf8686f0da0d5a5ae159d8f0111a56 (patch) | |
tree | 28d62a029cfd022f3093a282f492e6fb76c61e1b /sys-libs/libkudzu | |
parent | #96661: version bump. this package needs a maintainer... (diff) | |
download | gentoo-2-a8be25a73ddf8686f0da0d5a5ae159d8f0111a56.tar.gz gentoo-2-a8be25a73ddf8686f0da0d5a5ae159d8f0111a56.tar.bz2 gentoo-2-a8be25a73ddf8686f0da0d5a5ae159d8f0111a56.zip |
Initial import. Since this ebuild was hacked from the kudzu-knoppix ebuild, and the first step of building kudzu on any platform is to build libkudzu, I'm going ahead with the same KEYWORDS from that ebuild.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-libs/libkudzu')
-rw-r--r-- | sys-libs/libkudzu/ChangeLog | 12 | ||||
-rw-r--r-- | sys-libs/libkudzu/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libkudzu/files/digest-libkudzu-1.1.62 | 1 | ||||
-rw-r--r-- | sys-libs/libkudzu/files/sunlance.patch | 12 | ||||
-rw-r--r-- | sys-libs/libkudzu/libkudzu-1.1.62.ebuild | 43 | ||||
-rw-r--r-- | sys-libs/libkudzu/metadata.xml | 5 |
6 files changed, 77 insertions, 0 deletions
diff --git a/sys-libs/libkudzu/ChangeLog b/sys-libs/libkudzu/ChangeLog new file mode 100644 index 000000000000..47e6824f901c --- /dev/null +++ b/sys-libs/libkudzu/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sys-libs/libkudzu +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/ChangeLog,v 1.1 2005/07/12 14:17:35 wolf31o2 Exp $ + +*libkudzu-1.1.62 (12 Jul 2005) + + 12 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> +files/sunlance.patch, + +metadata.xml, +libkudzu-1.1.62.ebuild: + Initial import. Since this ebuild was hacked from the kudzu-knoppix ebuild, + and the first step of building kudzu on any platform is to build libkudzu, + I'm going ahead with the same KEYWORDS from that ebuild. + diff --git a/sys-libs/libkudzu/Manifest b/sys-libs/libkudzu/Manifest new file mode 100644 index 000000000000..a6d7a59974b4 --- /dev/null +++ b/sys-libs/libkudzu/Manifest @@ -0,0 +1,4 @@ +MD5 b4bef8f70c8a05aa48d893d74b327fd1 libkudzu-1.1.62.ebuild 1075 +MD5 d86e5b5e47260e5a965eae2afe6d6d40 metadata.xml 159 +MD5 5a34775ded0d577c19911b83ea61884c files/digest-libkudzu-1.1.62 65 +MD5 7cf6227fd7e640efa2462086ed448521 files/sunlance.patch 479 diff --git a/sys-libs/libkudzu/files/digest-libkudzu-1.1.62 b/sys-libs/libkudzu/files/digest-libkudzu-1.1.62 new file mode 100644 index 000000000000..ad30d4c97f25 --- /dev/null +++ b/sys-libs/libkudzu/files/digest-libkudzu-1.1.62 @@ -0,0 +1 @@ +MD5 62ad2ff7b3f81cc0d08c406be6c4be5d kudzu-1.1.62.tar.bz2 208388 diff --git a/sys-libs/libkudzu/files/sunlance.patch b/sys-libs/libkudzu/files/sunlance.patch new file mode 100644 index 000000000000..0824f3fd54cf --- /dev/null +++ b/sys-libs/libkudzu/files/sunlance.patch @@ -0,0 +1,12 @@ +diff -urN kudzu-1.1.62.orig/sbus.c kudzu-1.1.62/sbus.c +--- kudzu-1.1.62.orig/sbus.c 2003-03-24 17:39:14.000000000 -0500 ++++ kudzu-1.1.62/sbus.c 2005-07-12 09:50:06.000000000 -0400 +@@ -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/libkudzu-1.1.62.ebuild b/sys-libs/libkudzu/libkudzu-1.1.62.ebuild new file mode 100644 index 000000000000..c12c827867cf --- /dev/null +++ b/sys-libs/libkudzu/libkudzu-1.1.62.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/libkudzu-1.1.62.ebuild,v 1.1 2005/07/12 14:17:35 wolf31o2 Exp $ + +inherit eutils + +S=${WORKDIR}/kudzu-${PV} +DESCRIPTION="Red Hat Hardware detection tools" +SRC_URI="http://www.ibiblio.org/onebase/devbase/app-packs/kudzu-${PV}.tar.bz2" +HOMEPAGE="http://fedora.redhat.com/projects/additional-projects/kudzu/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 -mips ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="dev-libs/popt + || ( + sys-apps/hwdata-knoppix + sys-apps/hwdata )" +DEPEND="dev-libs/popt + sys-apps/pciutils + !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/metadata.xml b/sys-libs/libkudzu/metadata.xml new file mode 100644 index 000000000000..88653ddd7172 --- /dev/null +++ b/sys-libs/libkudzu/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> |