# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Wijesekara keyboard for Sinhala input using scim" HOMEPAGE="http://sinhala.sourceforge.net/" SRC_URI="http://sinhala.sourceforge.net/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=app-i18n/scim-1.4" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" ./bootstrap || die "bootstrap failed" epatch "${FILESDIR}"/gcc-4.3.patch } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }