From ec83a220e9b601ba969011adff2cc77bb61f00b6 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 6 Sep 2005 21:51:33 +0000 Subject: Added tiny patch for compiling on ppc and closing bug #100022. (Portage version: 1.589-cvs) --- sys-libs/libkudzu/ChangeLog | 8 +++- sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r1 | 1 + sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild | 45 +++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 sys-libs/libkudzu/files/digest-libkudzu-1.1.62-r1 create mode 100644 sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild (limited to 'sys-libs') 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 + +libkudzu-1.1.62-r1.ebuild: + Added tiny patch for compiling on ppc and closing bug #100022. 24 Aug 2005; Chris Gianelloni 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 +} -- cgit v1.2.3-65-gdbad