diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-07 15:55:15 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-07 15:55:15 +0000 |
commit | 36d7d63fc8e533a54bc3008fe078d25b06cc0d55 (patch) | |
tree | bbf6a3f305a5e307e2b8b191680365bd8b5a23b2 /sys-apps/procps | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.gz gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.bz2 gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.zip |
Maintainence and FHS 2.1 fixes for RC4
Diffstat (limited to 'sys-apps/procps')
-rw-r--r-- | sys-apps/procps/procps-2.0.7-r2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/procps/procps-2.0.7-r2.ebuild b/sys-apps/procps/procps-2.0.7-r2.ebuild new file mode 100644 index 000000000000..f6c66a8d6804 --- /dev/null +++ b/sys-apps/procps/procps-2.0.7-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/procps-2.0.7-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Standard informational utilities and process-handling tools" +SRC_URI="ftp://people.redhat.com/johnsonm/procps/${A}" +DEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + + unpack ${A} + + cd ${S} + + mv Makefile Makefile.orig + sed -e "s/-O3/${CFLAGS}/" -e 's/all: config/all: /' \ + -e "s:--strip::" Makefile.orig > Makefile + + mv watch.c watch.c.orig + sed -e "s/<ncurses.h>/<NEW>/" -e "s/<signal.h>/<ncurses.h>/" -e "s/<NEW>/<signal.h>/" watch.c.orig >watch.c + + cd ${S}/ps + mv Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" -e "s:--strip::" Makefile.orig > Makefile + + cd ${S}/proc + mv Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" -e "s:--strip::" Makefile.orig > Makefile + +} + +src_compile() { + try make ${MAKEOPTS} +} + +src_install() { + + dodir /usr/bin + dodir /sbin + dodir /usr/X11R6/bin + dodir /usr/share/man/man{1,5,8} + dodir /lib + dodir /bin + try make DESTDIR=${D} MANDIR=/usr/share/man install + + preplib / + dodoc BUGS COPYING COPYING.LIB NEWS TODO + docinto proc + dodoc proc/COPYING + docinto ps + dodoc ps/COPYING ps/HACKING +} + + + |