qmhandle-1.3.2.ebuild 670 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. DESCRIPTION="Qmail message queue tool"
  5. HOMEPAGE="http://qmhandle.sourceforge.net/"
  6. SRC_URI="mirror://sourceforge/qmhandle/${P}.tar.gz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86"
  10. IUSE=""
  11. RDEPEND="virtual/qmail
  12. dev-lang/perl
  13. sys-process/psmisc
  14. "
  15. DEPEND=""
  16. src_unpack() {
  17. unpack ${A}
  18. cd "${S}"
  19. sed \
  20. -e 's|/usr/local/bin/svc|/usr/bin/svc|g' \
  21. -e 's|/service/qmail-deliver|/var/qmail/supervise/qmail-send|g' \
  22. -i qmHandle
  23. }
  24. src_install() {
  25. dodoc README HISTORY
  26. dobin qmHandle || die "dobin failed"
  27. }