You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-firewall/ferm/ferm-2.1.2.ebuild

38 lines
895 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ferm/ferm-2.1.2.ebuild,v 1.2 2013/04/16 08:28:36 dev-zero Exp $
EAPI=5
inherit versionator
MY_PV="$(get_version_component_range 1-2)"
DESCRIPTION="Command line util for managing firewall rules"
HOMEPAGE="http://ferm.foo-projects.org/"
SRC_URI="http://ferm.foo-projects.org/download/${MY_PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
# does not install any perl libs
RDEPEND="dev-lang/perl:*
net-firewall/iptables
virtual/perl-File-Spec"
src_prepare() {
sed -e "s/COPYING//" -i Makefile || die "sed failed"
}
src_compile() { :; }
src_install () {
emake PREFIX="${D}/usr" DOCDIR="${D}/usr/share/doc/${PF}" install
}
pkg_postinst() {
elog "See /usr/share/doc/${PF}/examples for sample configs"
}