hnb-1.9.18-r1.ebuild 794 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils toolchain-funcs
  5. DESCRIPTION="A program to organize many kinds of data in one place"
  6. HOMEPAGE="http://hnb.sourceforge.net/"
  7. SRC_URI="http://hnb.sourceforge.net/.files/${P}.tar.gz"
  8. SLOT="0"
  9. LICENSE="GPL-2"
  10. KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
  11. RDEPEND="sys-libs/ncurses"
  12. DEPEND="
  13. ${RDEPEND}
  14. virtual/pkgconfig
  15. "
  16. src_prepare() {
  17. rm -r ${P} || die
  18. rm src/cli_history.o || die
  19. epatch \
  20. "${FILESDIR}"/${P}-flags.patch \
  21. "${FILESDIR}"/${P}-include.patch \
  22. "${FILESDIR}"/${P}-printf.patch
  23. tc-export AR CC PKG_CONFIG
  24. # bug #532552
  25. export LC_ALL=C
  26. }
  27. src_install() {
  28. dodoc README doc/hnbrc
  29. doman doc/hnb.1
  30. dobin src/hnb
  31. }