blob: 1307cbcb4386df3d9e7b14e1fd3757a79026c1e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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.57-r1.ebuild,v 1.2 2000/08/16 04:38:28 drobbins Exp $
P=net-tools-1.57
A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="standard Linux network tools"
SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${A}"
src_compile() {
make
cd po
make
}
src_unpack() {
unpack ${A}
cd ${S}
cp ${O}/files/config.h .
cp ${O}/files/config.make .
mv Makefile Makefile.orig
sed -e "s/-O2 -Wall -g/${CFLAGS}/" Makefile.orig > Makefile
}
src_install() {
into /
dosbin arp hostname ifconfig netstat plipconfig rarp route
dosbin slattach iptunnel ipmaddr
cd po
make BASEDIR=${D} install
cd ..
doman man/en_US/*.[18]
dodoc COPYING README README.ipv6 TODO
}
|