pps-tools-0.0.20120407.ebuild 663 B

123456789101112131415161718192021222324252627
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="4"
  4. inherit eutils
  5. GITHUB_USER="ago"
  6. PV_COMMIT='0deb9c7e135e9380a6d09e9d2e938a146bb698c8'
  7. DESCRIPTION="User-space tools for LinuxPPS"
  8. HOMEPAGE="http://wiki.enneenne.com/index.php/LinuxPPS_installation"
  9. SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${PV_COMMIT} -> ${PN}-git-${PV}.tar.gz"
  10. LICENSE="GPL-2"
  11. SLOT="0"
  12. KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 x86"
  13. IUSE=""
  14. S="${WORKDIR}/${GITHUB_USER}-${PN}-${PV_COMMIT:0:7}"
  15. src_prepare() {
  16. epatch "${FILESDIR}"/${P}-build.patch
  17. epatch "${FILESDIR}"/${P}-install.patch
  18. tc-export CC
  19. }