asapm-3.1-r1.ebuild 711 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils toolchain-funcs
  5. DESCRIPTION="APM monitor for AfterStep"
  6. HOMEPAGE="http://tigr.net/afterstep/applets/"
  7. SRC_URI="http://www.tigr.net/afterstep/download/asapm/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc -sparc ~x86"
  11. IUSE=""
  12. RDEPEND="x11-libs/libX11
  13. x11-libs/libXpm"
  14. DEPEND="${RDEPEND}
  15. x11-proto/xproto"
  16. src_prepare() {
  17. epatch "${FILESDIR}"/${P}-{ldflags,include,autoconf}.patch
  18. cp autoconf/configure.in . || die
  19. AT_M4DIR=autoconf eautoconf
  20. tc-export CC
  21. }
  22. src_install() {
  23. dobin asapm
  24. newman asapm.man asapm.1
  25. dodoc CHANGES README TODO NOTES
  26. }