| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/nabi/nabi-0.17.ebuild,v 1.4 2011/09/30 00:49:36 naota Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit eutils autotools
|
| 8 |
|
| 9 |
DESCRIPTION="Simple Hanguk X Input Method"
|
| 10 |
HOMEPAGE="http://nabi.kldp.net/"
|
| 11 |
SRC_URI="http://kldp.net/frs/download.php/3742/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
IUSE=""
|
| 16 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 17 |
|
| 18 |
RDEPEND=">=x11-libs/gtk+-2.2:2
|
| 19 |
>=app-i18n/libhangul-0.0.4"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
virtual/pkgconfig"
|
| 22 |
|
| 23 |
src_prepare() {
|
| 24 |
epatch "${FILESDIR}"/${PN}-0.99.3-asneeded.patch
|
| 25 |
eautoreconf
|
| 26 |
}
|
| 27 |
|
| 28 |
src_install() {
|
| 29 |
emake DESTDIR="${D}" install || die "emake install failed"
|
| 30 |
|
| 31 |
dodoc AUTHORS ChangeLog NEWS README TODO
|
| 32 |
}
|
| 33 |
|
| 34 |
pkg_postinst() {
|
| 35 |
elog "You MUST add environment variable..."
|
| 36 |
elog
|
| 37 |
elog "export XMODIFIERS=\"@im=nabi\""
|
| 38 |
elog
|
| 39 |
}
|