linuxptp-1.8.ebuild 722 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit linux-info
  5. DESCRIPTION="The Linux Precision Time Protocol (PTP) implementation"
  6. HOMEPAGE="http://linuxptp.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/${PN}/v${PV}/${P}.tgz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. DEPEND=""
  13. RDEPEND="${DEPEND}"
  14. CONFIG_CHECK="PPS NETWORK_PHY_TIMESTAMPING PTP_1588_CLOCK"
  15. src_compile() {
  16. export EXTRA_CFLAGS=${CFLAGS}
  17. emake prefix=/usr mandir=/usr/share/man
  18. }
  19. src_install() {
  20. emake \
  21. prefix="${D}"/usr \
  22. mandir="${D}"/usr/share/man \
  23. infodir="${D}"/usr/share/info \
  24. libdir="${D}"/usr/$(get_libdir) \
  25. install
  26. dodoc README.org
  27. }