vrrpd-1.9.ebuild 862 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. DESCRIPTION="Virtual Router Redundancy Protocol Daemon"
  6. HOMEPAGE="http://numsys.eu/vrrp_art.php"
  7. SRC_URI="https://github.com/fredbcode/Vrrpd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="GPL-2+"
  9. SLOT="0"
  10. KEYWORDS="~x86 ~amd64"
  11. IUSE=""
  12. DEPEND="sys-devel/gcc"
  13. RDEPEND=""
  14. S="${WORKDIR}/Vrrpd-${PV}"
  15. src_prepare() {
  16. epatch "${FILESDIR}"/vrrpd-1.9-rollup.patch || die
  17. emake mrproper
  18. #rm -f atropos
  19. }
  20. src_compile() {
  21. emake DBG_OPT="" MACHINEOPT="${CFLAGS}" PROF_OPT="${LDFLAGS}"
  22. }
  23. src_install() {
  24. dosbin vrrpd atropos
  25. doman vrrpd.8
  26. dodoc FAQ Changes TODO scott_example doc/draft-ietf-vrrp-spec-v2-05.txt doc/rfc2338.txt.vrrp doc/draft-jou-duplicate-ip-address-02.txt doc/principe-Vrrp1.jpg doc/principe-Vrrp2.jpg README.md
  27. }