esorex-3.10.2.ebuild 960 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. AUTOTOOLS_AUTORECONF=1
  5. AUTOTOOLS_IN_SOURCE_BUILD=1
  6. AT_NO_RECURSIVE=1
  7. inherit autotools-utils
  8. DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts"
  9. HOMEPAGE="http://www.eso.org/sci/software/cpl/esorex.html"
  10. SRC_URI="ftp://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz"
  11. LICENSE="GPL-2"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
  14. IUSE=""
  15. DEPEND=">=sci-astronomy/cpl-6.3:0="
  16. RDEPEND="${DEPEND}"
  17. PATCHES=(
  18. "${FILESDIR}"/${PN}-3.9.6-use-shared-libs.patch
  19. "${FILESDIR}"/${PN}-3.10-remove-private-ltdl.patch
  20. "${FILESDIR}"/${PN}-3.10-generate-manpage.patch
  21. "${FILESDIR}"/${PN}-3.10-remove-empty-configdir.patch
  22. "${FILESDIR}"/${PN}-3.10-set-default-plugin-path.patch
  23. )
  24. export CPLDIR="${EPREFIX}/usr"
  25. src_install() {
  26. autotools-utils_src_install
  27. dodoc -r examples
  28. docompress -x /usr/share/doc/${PF}/examples
  29. }