diff options
author | Olivier Crête <tester@gentoo.org> | 2003-07-29 15:35:30 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2003-07-29 15:35:30 +0000 |
commit | 8cb04c9fe2e4d13c993f3cf0385a46aae695df68 (patch) | |
tree | eb677a7d01972303356a5e38a2dcafe20d5fa176 /sys-apps/kudzu/kudzu-0.99.99.ebuild | |
parent | Added newer kudzu for amd64 (diff) | |
download | gentoo-2-8cb04c9fe2e4d13c993f3cf0385a46aae695df68.tar.gz gentoo-2-8cb04c9fe2e4d13c993f3cf0385a46aae695df68.tar.bz2 gentoo-2-8cb04c9fe2e4d13c993f3cf0385a46aae695df68.zip |
Added newer kudzu for amd64
Diffstat (limited to 'sys-apps/kudzu/kudzu-0.99.99.ebuild')
-rw-r--r-- | sys-apps/kudzu/kudzu-0.99.99.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/kudzu/kudzu-0.99.99.ebuild b/sys-apps/kudzu/kudzu-0.99.99.ebuild new file mode 100644 index 000000000000..2343a303bc48 --- /dev/null +++ b/sys-apps/kudzu/kudzu-0.99.99.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kudzu/kudzu-0.99.99.ebuild,v 1.1 2003/07/29 15:35:22 tester Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Red Hat Hardware detection tools" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="http://www.knopper.net" + +KEYWORDS="~x86 amd64 -ppc -sparc -alpha -mips" +SLOT="0" +LICENSE="GPL-2" + +RDEPEND="dev-libs/newt" +DEPEND="$RDEPEND sys-apps/pciutils >=dev-libs/dietlibc-0.20" + +src_compile() { + emake || die + + if [ "${ARCH} = "x86" -o "${ARCH} = "ppc" ] + then + cd ddcprobe || die + emake || die + fi +} + +src_install() { + einstall install-program DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man || die "Install failed" + if [ "${ARCH} = "x86" -o "${ARCH} = "ppc" ] + then + cd ${S}/ddcprobe || die + dosbin svgamodes modetest ddcxinfo ddcprobe || die + fi +} + |