ferm-2.3.ebuild 768 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit systemd
  5. DESCRIPTION="Command line util for managing firewall rules"
  6. HOMEPAGE="http://ferm.foo-projects.org/"
  7. SRC_URI="http://ferm.foo-projects.org/download/${PV}/${P}.tar.gz"
  8. LICENSE="GPL-2+"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86"
  11. IUSE=""
  12. # does not install any perl libs
  13. RDEPEND="dev-lang/perl:*
  14. net-firewall/iptables
  15. virtual/perl-File-Spec"
  16. DOCS=( AUTHORS NEWS README TODO doc/ferm.txt examples/ )
  17. HTML_DOCS=( doc/ferm.html )
  18. src_compile() { :; }
  19. src_install() {
  20. dosbin src/{,import-}ferm
  21. systemd_dounit ferm.service
  22. einstalldocs
  23. doman doc/*.1
  24. }
  25. pkg_postinst() {
  26. elog "See ${EROOT}usr/share/doc/${PF}/examples for sample configs"
  27. }