summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-12-03 13:49:18 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-12-03 13:49:18 +0000
commitc8204335aa4e1ac7004dcffa60d0b4fbf5221d93 (patch)
tree7cbb816687c999ea94006010ced75dcec1973e71 /app-misc
parentdigest fixes (diff)
downloadhistorical-c8204335aa4e1ac7004dcffa60d0b4fbf5221d93.tar.gz
historical-c8204335aa4e1ac7004dcffa60d0b4fbf5221d93.tar.bz2
historical-c8204335aa4e1ac7004dcffa60d0b4fbf5221d93.zip
Fixes
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/dnetc/dnetc-2.9001.478.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/app-misc/dnetc/dnetc-2.9001.478.ebuild b/app-misc/dnetc/dnetc-2.9001.478.ebuild
index 1cde4dae73b4..4d14f9507a5b 100644
--- a/app-misc/dnetc/dnetc-2.9001.478.ebuild
+++ b/app-misc/dnetc/dnetc-2.9001.478.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9001.478.ebuild,v 1.1 2002/12/03 13:36:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9001.478.ebuild,v 1.2 2002/12/03 13:49:18 aliz Exp $
MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}
@@ -11,11 +11,16 @@ SRC_URI="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-l
x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf.tar.gz )"
LICENSE="distributed.net"
SLOT="0"
-KEYWORDS="x86 ppc -sparc -sparc64 -alpha"
+KEYWORDS="x86 ~ppc -sparc -sparc64 -alpha"
IUSE=""
DEPEND=""
#RDEPEND=""
-S="${WORKDIR}"
+if [ `use x86` ]; then
+ S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf"
+elif [ `use ppc` ]; then
+ S="${WORKDIR}/dnetc${MIN_PV}-linux-ppc"
+fi
+
RESTRICT="nomirror"
src_install() {
@@ -23,7 +28,7 @@ src_install() {
doexe dnetc
doman dnetc.1
- dodoc docs/*
+ dodoc CHANGES.txt dnetc.txt readme.*
exeinto /etc/init.d ; newexe ${FILESDIR}/dnetc.init dnetc
insinto /etc/conf.d ; newins ${FILESDIR}/dnetc.conf dnetc