summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-09-06 21:51:33 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-09-06 21:51:33 +0000
commitec83a220e9b601ba969011adff2cc77bb61f00b6 (patch)
treeb14718529850e9d966daa268bf66c62ccb26b75a /sys-libs/libkudzu
parentUsing vorbis USE flag instead of oggvorbis, bug #94254 (diff)
downloadgentoo-2-ec83a220e9b601ba969011adff2cc77bb61f00b6.tar.gz
gentoo-2-ec83a220e9b601ba969011adff2cc77bb61f00b6.tar.bz2
gentoo-2-ec83a220e9b601ba969011adff2cc77bb61f00b6.zip
Added tiny patch for compiling on ppc and closing bug #100022.
(Portage version: 1.589-cvs)
Diffstat (limited to 'sys-libs/libkudzu')
-rw-r--r--sys-libs/libkudzu/ChangeLog8
-rw-r--r--sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r11
-rw-r--r--sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild45
3 files changed, 53 insertions, 1 deletions
diff --git a/sys-libs/libkudzu/ChangeLog b/sys-libs/libkudzu/ChangeLog
index fd6c9ca12105..660e2326d263 100644
--- a/sys-libs/libkudzu/ChangeLog
+++ b/sys-libs/libkudzu/ChangeLog
@@ -1,6 +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.4 2005/08/24 14:18:10 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/ChangeLog,v 1.5 2005/09/06 21:51:33 wolf31o2 Exp $
+
+*libkudzu-1.1.62-r1 (06 Sep 2005)
+
+ 06 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +libkudzu-1.1.62-r1.ebuild:
+ Added tiny patch for compiling on ppc and closing bug #100022.
24 Aug 2005; Chris Gianelloni <wolf31o2@gentoo.org>
libkudzu-1.1.62.ebuild:
diff --git a/sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r1 b/sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r1
new file mode 100644
index 000000000000..ad30d4c97f25
--- /dev/null
+++ b/sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r1
@@ -0,0 +1 @@
+MD5 62ad2ff7b3f81cc0d08c406be6c4be5d kudzu-1.1.62.tar.bz2 208388
diff --git a/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild b/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
new file mode 100644
index 000000000000..623c09269378
--- /dev/null
+++ b/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
@@ -0,0 +1,45 @@
+# 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-r1.ebuild,v 1.1 2005/09/06 21:51:33 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
+ !sys-libs/libkudzu-knoppix"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/sunlance.patch
+ epatch ${FILESDIR}/ppc.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
+}