scim-sayura-0.3.3.ebuild 660 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="2"
  4. inherit eutils
  5. DESCRIPTION="Sayura Sinhala input method for SCIM"
  6. HOMEPAGE="http://www.sayura.net/im/"
  7. SRC_URI="http://www.sayura.net/im/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="doc"
  12. RDEPEND=">=app-i18n/scim-0.99.8"
  13. DEPEND="${RDEPEND}
  14. virtual/pkgconfig"
  15. src_prepare() {
  16. epatch "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch
  17. }
  18. src_install() {
  19. emake DESTDIR="${D}" install || die "emake install failed"
  20. dodoc AUTHORS ChangeLog NEWS README
  21. dohtml doc/index.html doc/style.css
  22. use doc && dodoc doc/sayura.pdf
  23. }