balance-3.57.ebuild 549 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit toolchain-funcs
  5. DESCRIPTION="TCP Load Balancing Port Forwarder"
  6. HOMEPAGE="http://www.inlab.de/balance.html"
  7. SRC_URI="http://www.inlab.de/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~x86"
  11. IUSE=""
  12. DEPEND=""
  13. RDEPEND=""
  14. PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
  15. src_prepare() {
  16. default
  17. tc-export CC
  18. }
  19. src_install() {
  20. default
  21. #autocreated on program start, if missing
  22. rmdir "${D}"/var/run/${PN}
  23. }