diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-31 20:15:03 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-31 20:15:03 +0000 |
commit | dba9486dc880eeb2418a30d603a0420a3b8896bc (patch) | |
tree | 21eaa2232ffdff613c482e8cb6e8c7f7118dfda6 /sys-apps/kudzu-knoppix | |
parent | Stable on hppa (diff) | |
download | historical-dba9486dc880eeb2418a30d603a0420a3b8896bc.tar.gz historical-dba9486dc880eeb2418a30d603a0420a3b8896bc.tar.bz2 historical-dba9486dc880eeb2418a30d603a0420a3b8896bc.zip |
Added minimal and python USE flags and closing bug #89010.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-apps/kudzu-knoppix')
-rw-r--r-- | sys-apps/kudzu-knoppix/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/kudzu-knoppix/Manifest | 18 | ||||
-rw-r--r-- | sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2 | 1 | ||||
-rw-r--r-- | sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild | 89 |
4 files changed, 102 insertions, 14 deletions
diff --git a/sys-apps/kudzu-knoppix/ChangeLog b/sys-apps/kudzu-knoppix/ChangeLog index 00e2c0500b11..5235191af8d9 100644 --- a/sys-apps/kudzu-knoppix/ChangeLog +++ b/sys-apps/kudzu-knoppix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/kudzu-knoppix # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/ChangeLog,v 1.17 2005/05/18 20:11:53 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/ChangeLog,v 1.18 2005/05/31 20:15:03 wolf31o2 Exp $ + +*kudzu-knoppix-1.1.36-r2 (31 May 2005) + + 31 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> + +kudzu-knoppix-1.1.36-r2.ebuild: + Added minimal and python USE flags and closing bug #89010. 18 May 2005; Sven Wegener <swegener@gentoo.org> kudzu-knoppix-1.1.36-r1.ebuild: diff --git a/sys-apps/kudzu-knoppix/Manifest b/sys-apps/kudzu-knoppix/Manifest index 071ca928c81e..b1a9d51bcb12 100644 --- a/sys-apps/kudzu-knoppix/Manifest +++ b/sys-apps/kudzu-knoppix/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 b492cd0a8eb799ca5a93eb5ea8d62162 ChangeLog 2688 MD5 9a4801a45483481a5c7932772452478f kudzu-knoppix-1.1.36-r1.ebuild 1710 -MD5 92d551e87456d440150fa2f43030da5a ChangeLog 2497 MD5 d86e5b5e47260e5a965eae2afe6d6d40 metadata.xml 159 -MD5 2095589c4ddc3ed3d8972ebcea3d04bf files/kudzu.rc 302 -MD5 0f546a1fe4121a5b22b21ab5eb53819f files/kudzu.conf.d 137 +MD5 196436bb7d27ea43fc75050f3cba60cc kudzu-knoppix-1.1.36-r2.ebuild 2234 MD5 5310a8dffb3e81e7c81fccd43d0ce18d files/digest-kudzu-knoppix-1.1.36-r1 74 MD5 33b7b6fafaa4558014dad67f9d8236b4 files/kudzu-knoppix-1.1.36-nonls-v4.patch 1781 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCi6GmI1lqEGTUzyQRArHwAKC9TbGjQEe9UxGxUt+J0H3tXCWqgwCePGRf -AaC59B6EfYKDyXHOUxw0f2M= -=OBvP ------END PGP SIGNATURE----- +MD5 0f546a1fe4121a5b22b21ab5eb53819f files/kudzu.conf.d 137 +MD5 2095589c4ddc3ed3d8972ebcea3d04bf files/kudzu.rc 302 +MD5 5310a8dffb3e81e7c81fccd43d0ce18d files/digest-kudzu-knoppix-1.1.36-r2 74 diff --git a/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2 b/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2 new file mode 100644 index 000000000000..d86c15dff275 --- /dev/null +++ b/sys-apps/kudzu-knoppix/files/digest-kudzu-knoppix-1.1.36-r2 @@ -0,0 +1 @@ +MD5 bfe68a139a64937c13df69d14213cb5b kudzu-knoppix_1.1.36-2.tar.gz 708324 diff --git a/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild b/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild new file mode 100644 index 000000000000..ba1cdef44b63 --- /dev/null +++ b/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu-knoppix/kudzu-knoppix-1.1.36-r2.ebuild,v 1.1 2005/05/31 20:15:03 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/${PN}_${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc ~alpha -sparc -mips ~ppc64" +IUSE="livecd nls minimal python" + +RDEPEND="!livecd? ( ~minimal? (dev-libs/newt ) ) + dev-libs/popt + sys-apps/hwdata-knoppix" +DEPEND="$RDEPEND + !livecd? ( nls? ( sys-devel/gettext ) ) + !livecd? ( !minimal? ( sys-libs/slang ) ) + sys-apps/pciutils + !livecd? ( !minimal? ( >=dev-libs/dietlibc-0.20 ) ) + !sys-apps/kudzu" + +src_unpack() { + unpack ${A} + if ! use nls; then + epatch "${FILESDIR}/${P}-nonls-v4.patch" || die "epatch failed" + fi +} + +src_compile() { + # Fix the modules directory to match Gentoo layout. + perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.* + + if use livecd; then + emake libkudzu.a || die + elif use minimal; then + emake updfstab || die + else + emake || die + fi + + if use x86 || use ppc; then + if ! use livecd && ! use minimal; then + cd ddcprobe || die + emake || die + fi + fi +} + +src_install() { + if use livecd; then + dodir /etc/sysconfig + insinto /usr/include/kudzu + doins *.h + dolib.a libkudzu.a + elif use minimal; then + dodir /etc/sysconfig + insinto /usr/include/kudzu + doins *.h + dolib.a libkudzu.a + dosbin updfstab + insinto /etc + doins updfstab.conf* + elif use python; then + make install install-program DESTDIR=${D} || die "Install failed" + else + make installdata install-program DESTDIR=${D} || die "Install failed" + fi + + if ! use livecd && ! use minimal; then + # Init script isn't appropriate + rm -rf ${D}/etc/rc.d + # Add our own init scripts + newinitd ${FILESDIR}/${PN/-knoppix}.rc ${PN/-knoppix} || die + newconfd ${FILESDIR}/${PN/-knoppix}.conf.d ${PN/-knoppix} || die + fi + + if use x86 || use ppc; then + if ! use livecd && ! use minimal; then + cd ${S}/ddcprobe || die + dosbin ddcxinfo ddcprobe || die + fi + fi +} |