blob: 3a4da57d011c33c88f29f53b6ecd2823bab6801c (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cidr/cidr-2.3.1-r1.ebuild,v 1.1 2003/09/03 09:27:52 phosphan Exp $
TARBALL="cidr-current.tar.gz"
S=${WORKDIR}/${PN}-2.3
DESCRIPTION="command line util to assist in calculating subnets."
SRC_URI="http://home.netcom.com/~naym/cidr/${TARBALL}"
HOMEPAGE="http://home.netcom.com/~naym/cidr/"
DEPEND=""
KEYWORDS="x86 sparc "
LICENSE="GPL-2"
SLOT="0"
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/${P}.patch || die "patch failed"
}
src_compile() {
emake || die "make failed"
}
src_install () {
dobin cidr
dodoc README ChangeLog
doman cidr.1
}
|