# Copyright 1999-2004 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.ebuild,v 1.12 2004/06/30 02:42:07 vapier Exp $ 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" IUSE="" RDEPEND="dev-libs/newt" DEPEND="$RDEPEND sys-libs/slang sys-apps/pciutils >=dev-libs/dietlibc-0.20 !sys-apps/kudzu" 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 ddcxinfo ddcprobe || die fi }