g15macro-1.0.3-r1.ebuild 810 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils
  5. DESCRIPTION="Macro recording plugin to G15daemon"
  6. HOMEPAGE="http://g15daemon.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ~ppc ~ppc64 x86"
  11. IUSE=""
  12. DEPEND=">=app-misc/g15daemon-1.9.0
  13. dev-libs/libg15
  14. dev-libs/libg15render
  15. x11-libs/libX11
  16. x11-proto/xextproto
  17. x11-proto/xproto
  18. x11-libs/libXtst
  19. "
  20. RDEPEND="${DEPEND}
  21. sys-libs/zlib
  22. "
  23. src_prepare() {
  24. epatch "${FILESDIR}"/${P}-Makefile.am.patch
  25. epatch "${FILESDIR}"/${P}-configure.in.patch
  26. mv configure.in configure.ac || die
  27. eautoreconf
  28. }
  29. src_configure() {
  30. econf --enable-xtest
  31. }
  32. src_install() {
  33. default
  34. rm -rf "${ED}"/usr/share/doc/${P}
  35. }