ntpclient-2010.365.ebuild 704 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit eutils flag-o-matic toolchain-funcs
  5. DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers"
  6. HOMEPAGE="http://doolittle.icarus.com/ntpclient/"
  7. SRC_URI="http://doolittle.icarus.com/${PN}/${PN}_${PV/./_}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
  11. IUSE=""
  12. #S="${WORKDIR}/${PN}-2010"
  13. src_unpack() {
  14. default
  15. mv "${WORKDIR}"/${PN}* ${P} || die
  16. }
  17. src_prepare() {
  18. sed -i -e 's/-O2//;s/LDFLAGS +=/LDLIBS +=/' Makefile || die
  19. tc-export CC
  20. }
  21. src_install() {
  22. dobin ntpclient
  23. dodoc README HOWTO rate.awk rate2.awk
  24. }