libstroke-0.5.1.ebuild 720 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils autotools
  4. DESCRIPTION="A Stroke and Gesture recognition Library"
  5. HOMEPAGE="http://www.etla.net/libstroke/"
  6. SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
  10. IUSE=""
  11. RDEPEND="x11-libs/libX11"
  12. DEPEND="x11-proto/xproto
  13. ${RDEPEND}"
  14. src_unpack() {
  15. unpack "${A}"
  16. cd "${S}"
  17. epatch "${FILESDIR}"/${P}-m4_syntax.patch
  18. epatch "${FILESDIR}"/${P}-no_gtk1.patch
  19. epatch "${FILESDIR}"/${P}-autotools.patch
  20. eautoreconf
  21. }
  22. src_install () {
  23. emake DESTDIR=${D} install || die
  24. dodoc CREDITS ChangeLog README
  25. }