diff options
author | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
commit | 2104e6db8dc8fa0ead9a8c4ebebe51334d118641 (patch) | |
tree | b77f143824f93937008d0135d208ecbafe8a28ee /sys-apps/net-tools | |
parent | web updates (diff) | |
download | gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.tar.gz gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.tar.bz2 gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r-- | sys-apps/net-tools/files/digest-net-tools-1.60-r1 | 1 | ||||
-rw-r--r-- | sys-apps/net-tools/net-tools-1.60-r1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/net-tools/files/digest-net-tools-1.60-r1 b/sys-apps/net-tools/files/digest-net-tools-1.60-r1 new file mode 100644 index 000000000000..07bfa015d70c --- /dev/null +++ b/sys-apps/net-tools/files/digest-net-tools-1.60-r1 @@ -0,0 +1 @@ +MD5 888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2 diff --git a/sys-apps/net-tools/net-tools-1.60-r1.ebuild b/sys-apps/net-tools/net-tools-1.60-r1.ebuild new file mode 100644 index 000000000000..519636fda281 --- /dev/null +++ b/sys-apps/net-tools/net-tools-1.60-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r1.ebuild,v 1.1 2001/08/04 18:22:45 pete Exp $ + +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +DESCRIPTION="standard Linux network tools" +SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${A}" +HOMEPAGE="http://sites.inka.de/lina/linux/NetTools/" + +DEPEND="virtual/glibc + sys-devel/gettext" +RDEPEND="virtual/glibc" + +src_unpack() { + + unpack ${A} + cd ${S} + cp ${FILESDIR}/config.h . + cp ${FILESDIR}/config.make . + cp Makefile Makefile.orig + sed -e "s/-O2 -Wall -g/${CFLAGS}/" Makefile.orig > Makefile + cd man + cp Makefile Makefile.orig + sed -e "s:/usr/man:/usr/share/man:" Makefile.orig > Makefile + +} + +src_compile() { + + try make ${MAKEOPTS} + cd po + try make ${MAKEOPTS} + +} + +src_install() { + + try make BASEDIR=${D} install + mv ${D}/bin/* ${D}/sbin + for i in hostname domainname netstat dnsdomainname ypdomainname nisdomainname + do + mv ${D}/sbin/${i} ${D}/bin + done + dosym /bin/hostname /usr/bin/hostname + + if [ -z "`use bootcd`" ] + then + dodoc COPYING README README.ipv6 TODO + else + rm -rf ${D}/usr/share + fi +} + + + |