summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-16 05:51:10 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-16 05:51:10 +0000
commite173739fea5550d425430267e0baac0e205e646e (patch)
tree89352223bb78056b2d5bd142611a723fb181d33c /sys-apps/psmisc
parentfix keywords, sparc please check (diff)
downloadhistorical-e173739fea5550d425430267e0baac0e205e646e.tar.gz
historical-e173739fea5550d425430267e0baac0e205e646e.tar.bz2
historical-e173739fea5550d425430267e0baac0e205e646e.zip
more ppc keywords
Diffstat (limited to 'sys-apps/psmisc')
-rw-r--r--sys-apps/psmisc/psmisc-19-r3.ebuild31
1 files changed, 17 insertions, 14 deletions
diff --git a/sys-apps/psmisc/psmisc-19-r3.ebuild b/sys-apps/psmisc/psmisc-19-r3.ebuild
index 84a58a5f8741..f484ee7c9a79 100644
--- a/sys-apps/psmisc/psmisc-19-r3.ebuild
+++ b/sys-apps/psmisc/psmisc-19-r3.ebuild
@@ -1,39 +1,42 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/psmisc-19-r3.ebuild,v 1.3 2002/07/14 19:20:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/psmisc/psmisc-19-r3.ebuild,v 1.4 2002/07/16 05:51:04 seemant Exp $
#from Debian ;)
-A=${P}.tar.gz
S=${WORKDIR}/psmisc
DESCRIPTION="Handy process-related utilities from Debian"
-SRC_URI="ftp://lrcftp.epfl.ch/pub/linux/local/psmisc/"${A}
+SRC_URI="ftp://lrcftp.epfl.ch/pub/linux/local/psmisc/${P}.tar.gz"
DEPEND="virtual/glibc >=sys-libs/ncurses-5.2-r2"
HOMEPAGE="http://psmisc.sourceforge.net/"
-KEYWORDS="x86"
+KEYWORDS="x86 ppc"
SLOT="0"
LICENSE="GPL-2"
+
src_unpack() {
- unpack ${A}
- cd ${S}
- cp Makefile Makefile.orig
- sed -e "s/-ltermcap/-lncurses/g" -e "s/-O/${CFLAGS}/" -e "s:-Wpointer-arith::" Makefile.orig > Makefile
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s/-ltermcap/-lncurses/g" \
+ -e "s/-O/${CFLAGS}/" \
+ -e "s:-Wpointer-arith::" \
+ Makefile.orig > Makefile
}
src_compile() {
- try pmake
+ pmake || die
}
src_install() {
if [ "`use bootcd`" ]
then
into /
- fi
- dobin killall pstree
- dosym killall /usr/bin/pidof
+ fi
+ dobin killall pstree
+ dosym killall /usr/bin/pidof
- into /
- dobin fuser
+ into /
+ dobin fuser
if [ -z "`use bootcd`" ]
then