| 1 |
armin76 |
1.5 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
armin76 |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
armin76 |
1.5 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/ferm/ferm-1.3.3.ebuild,v 1.4 2008/05/05 15:28:55 drac Exp $
|
| 4 |
armin76 |
1.1 |
|
| 5 |
|
|
inherit versionator
|
| 6 |
|
|
|
| 7 |
|
|
MY_PV="$(get_version_component_range 1-2)"
|
| 8 |
|
|
DESCRIPTION="Command line util for managing firewall rules"
|
| 9 |
|
|
HOMEPAGE="http://ferm.foo-projects.org/"
|
| 10 |
|
|
SRC_URI="http://ferm.foo-projects.org/download/${MY_PV}/${P}.tar.gz"
|
| 11 |
|
|
|
| 12 |
|
|
LICENSE="GPL-2"
|
| 13 |
armin76 |
1.5 |
KEYWORDS="~amd64 ppc x86"
|
| 14 |
armin76 |
1.1 |
IUSE=""
|
| 15 |
|
|
SLOT="0"
|
| 16 |
|
|
|
| 17 |
|
|
DEPEND=""
|
| 18 |
|
|
RDEPEND="dev-lang/perl
|
| 19 |
|
|
net-firewall/iptables"
|
| 20 |
|
|
|
| 21 |
|
|
src_install () {
|
| 22 |
|
|
emake PREFIX="${D}/usr" DOCDIR="${D}/usr/share/doc/${PF}" install || die "emake install failed"
|
| 23 |
|
|
}
|
| 24 |
|
|
|
| 25 |
|
|
pkg_postinst() {
|
| 26 |
|
|
einfo "See /usr/share/doc/${PF}/examples for sample configs"
|
| 27 |
|
|
}
|