clrngd-1.0.3.ebuild 606 B

123456789101112131415161718192021222324252627
  1. # Copyright 1999-2009 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. DESCRIPTION="Clock randomness gathering daemon"
  4. HOMEPAGE="http://echelon.pl/pubs/"
  5. SRC_URI="http://echelon.pl/pubs/${P}.tar.gz"
  6. LICENSE="GPL-2"
  7. SLOT="0"
  8. KEYWORDS="amd64 x86"
  9. IUSE=""
  10. DEPEND="sys-devel/gcc"
  11. RDEPEND=""
  12. src_compile() {
  13. econf --bindir=/usr/sbin || die
  14. emake || die
  15. }
  16. src_install() {
  17. make DESTDIR=${D} install || die "make install failed"
  18. dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
  19. newinitd ${FILESDIR}/clrngd-init.d clrngd
  20. newconfd ${FILESDIR}/clrngd-conf.d clrngd
  21. }