slrn-1.0.2.ebuild 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools-utils
  5. MY_P="${PN}_${PV/_/~}"
  6. DESCRIPTION="A s-lang based newsreader"
  7. HOMEPAGE="http://slrn.sourceforge.net/"
  8. SRC_URI="http://jedsoft.org/releases/${PN}/${P}.tar.bz2"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
  12. IUSE="canlock nls ssl uudeview"
  13. RDEPEND="virtual/mta
  14. app-arch/sharutils
  15. >=sys-libs/slang-2.1.3
  16. canlock? ( net-libs/canlock )
  17. ssl? ( dev-libs/openssl )
  18. uudeview? ( dev-libs/uulib )"
  19. DEPEND="${RDEPEND}
  20. nls? ( sys-devel/gettext )"
  21. AUTOTOOLS_IN_SOURCE_BUILD=1
  22. PATCHES=( "${FILESDIR}"/${P}-make.patch )
  23. src_configure() {
  24. local myeconfargs=(
  25. --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
  26. --with-slrnpull
  27. $(use_with canlock)
  28. $(use_with uudeview uu)
  29. $(use_enable nls)
  30. $(use_with ssl)
  31. )
  32. autotools-utils_src_configure
  33. }