summaryrefslogtreecommitdiff
blob: 623582d52059d48dd2e5d0a334cfcccfe99ee15b (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.ebuild,v 1.2 2004/02/28 12:11:46 solar Exp $

EXT=-2
DESCRIPTION="Arptables is used to set up, maintain, and inspect the tables of ARP rules in the Linux kernel. It is analogous to iptables, but operates at the ARP layer rather than the IP layer."
SRC_URI="mirror://sourceforge/ebtables/${PN}-v${PV}${EXT}.tar.gz"

HOMEPAGE="http://ebtables.sourceforge.net/"
KEYWORDS="~x86"
LICENSE="GPL-2"
SLOT="0"

S=${WORKDIR}/${PN}-v${PV}${EXT}/

DEPEND="virtual/glibc"

src_compile() {
	cd ${S}
	emake
}

src_install() {
	dodir /sbin/
	einstall PREFIX=${D}/ MANDIR=${D}/usr/share/man/
}