monica-3.7.ebuild 708 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit toolchain-funcs
  5. DESCRIPTION="Monica is a Monitor Calibration Tool"
  6. HOMEPAGE="http://freecode.com/projects/monica"
  7. SRC_URI="mirror://gentoo/${P}.tar.bz2"
  8. LICENSE="BSD"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86"
  11. IUSE=""
  12. DEPEND=">=x11-libs/fltk-1.1:1"
  13. RDEPEND="${DEPEND}
  14. x11-apps/xgamma"
  15. DOCS=( authors ChangeLog news readme )
  16. PATCHES=(
  17. "${FILESDIR}"/${PN}-3.6-makefile-cleanup.patch
  18. "${FILESDIR}"/${P}-gcc44.patch
  19. )
  20. src_compile() {
  21. emake \
  22. CXX="$(tc-getCXX)" \
  23. CXXFLAGS="${CXXFLAGS}" \
  24. LINK="$(tc-getCXX)" \
  25. LDFLAGS="${LDFLAGS}"
  26. }
  27. src_install() {
  28. dobin monica
  29. einstalldocs
  30. }