udpcast-20120424-r1.ebuild 598 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils flag-o-matic
  5. DESCRIPTION="Multicast file transfer tool"
  6. HOMEPAGE="http://www.udpcast.linux.lu/"
  7. SRC_URI="http://www.udpcast.linux.lu/download/${P}.tar.bz2"
  8. LICENSE="GPL-2 BSD"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="hardened"
  12. DEPEND="dev-lang/perl"
  13. src_prepare() {
  14. epatch \
  15. "${FILESDIR}"/${P}-fd_set.patch \
  16. "${FILESDIR}"/${P}-gentoo.patch
  17. }
  18. src_configure() {
  19. use hardened || append-cflags -DUSE_ASSEMBLER
  20. default
  21. }
  22. src_install() {
  23. default
  24. dodoc *.txt
  25. }