diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-03-19 07:48:46 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-03-19 07:48:46 +0000 |
commit | 948e427fcd1cb9ebad9ec3334b054e7342381a0c (patch) | |
tree | b5f03ae5be61baef98b001d666b809e61e421b05 /sys-apps/kudzu | |
parent | (#206989) Fix for amd64 by using rewritten Makefile.am (Dough Klima and me). ... (diff) | |
download | historical-948e427fcd1cb9ebad9ec3334b054e7342381a0c.tar.gz historical-948e427fcd1cb9ebad9ec3334b054e7342381a0c.tar.bz2 historical-948e427fcd1cb9ebad9ec3334b054e7342381a0c.zip |
Bump, keyword ~amd64.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/kudzu')
-rw-r--r-- | sys-apps/kudzu/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/kudzu/kudzu-1.2.83.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/kudzu/ChangeLog b/sys-apps/kudzu/ChangeLog index 6743e3e57d3e..d3f576b99f89 100644 --- a/sys-apps/kudzu/ChangeLog +++ b/sys-apps/kudzu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/kudzu # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu/ChangeLog,v 1.27 2008/01/31 06:29:25 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu/ChangeLog,v 1.28 2008/03/19 07:48:46 dberkholz Exp $ + +*kudzu-1.2.83 (19 Mar 2008) + + 19 Mar 2008; Donnie Berkholz <dberkholz@gentoo.org>; +kudzu-1.2.83.ebuild: + Bump, keyword ~amd64. 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -files/1.2.52-remove-pci-fill-class.patch, diff --git a/sys-apps/kudzu/kudzu-1.2.83.ebuild b/sys-apps/kudzu/kudzu-1.2.83.ebuild new file mode 100644 index 000000000000..db8f6a832003 --- /dev/null +++ b/sys-apps/kudzu/kudzu-1.2.83.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu/kudzu-1.2.83.ebuild,v 1.1 2008/03/19 07:48:46 dberkholz Exp $ + +inherit eutils python rpm multilib toolchain-funcs + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="3" + +MY_P="${PN/lib}-${PV}" + +DESCRIPTION="Red Hat Hardware detection tools" +SRC_URI="mirror://fedora/development/source/SRPMS/${MY_P}-${RPMREV}.src.rpm" +HOMEPAGE="http://rhlinux.redhat.com/kudzu/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="dev-libs/popt + sys-apps/hwdata-redhat + !sys-libs/libkudzu" +DEPEND="dev-libs/popt + >=sys-apps/pciutils-2.2.4" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + emake \ + all \ + CC=$(tc-getCC) \ + AR=$(tc-getAR) \ + RANLIB=$(tc-getRANLIB) \ + RPM_OPT_FLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + emake \ + install \ + install-program \ + DESTDIR="${D}" \ + libdir="${D}/usr/$(get_libdir)" \ + CC=$(tc-getCC) \ + || die "install failed" + + # don't install incompatible init scripts + rm -rf \ + "${D}"/etc/rc.d \ + || die "removing rc.d files failed" +} + +pkg_postinst() { + python_version + + python_mod_compile \ + "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/kudzu.py +} + +pkg_postrm() { + python_mod_cleanup +} |