summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae Yang Kwak <jayskwak@gentoo.org>2002-05-26 01:53:47 +0000
committerJae Yang Kwak <jayskwak@gentoo.org>2002-05-26 01:53:47 +0000
commita2379da7468560811716898b4bddc1a5d6136c25 (patch)
treef407d8b1ef7cfb14ac8e5486ef698afc2136a35e /sys-apps/ami
parentgtk added (diff)
downloadgentoo-2-a2379da7468560811716898b4bddc1a5d6136c25.tar.gz
gentoo-2-a2379da7468560811716898b4bddc1a5d6136c25.tar.bz2
gentoo-2-a2379da7468560811716898b4bddc1a5d6136c25.zip
It is a XIM program for Korean user
Diffstat (limited to 'sys-apps/ami')
-rw-r--r--sys-apps/ami/ami-1.0.11-r1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/ami/ami-1.0.11-r1.ebuild b/sys-apps/ami/ami-1.0.11-r1.ebuild
new file mode 100644
index 000000000000..14915ec3a9b1
--- /dev/null
+++ b/sys-apps/ami/ami-1.0.11-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Jays Kwak <jayskwak@gentoo.or.kr>
+# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Korean IMS Ami"
+SRC_URI="http://www.kr.freebsd.org/~hwang/ami/${P}.tar.gz
+ http://www.kr.freebsd.org/~hwang/ami/hanja.dic.gz
+ ftp://ftp.nnongae.com/pub/gentoo/${P}.patch"
+HOMEPAGE="http://www.kr.freebsd.org/~hwang/ami/index.html"
+
+DEPEND=">=media-libs/gdk-pixbuf-0.7.0"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ patch -p0 < ${DISTDIR}/${P}.patch || die
+}
+
+src_compile() {
+ local config
+
+ use gnome && config="--enable-gnome-applet"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --with-hangul-keyboard=2 \
+ --sysconfdir=/etc \
+ ${config} \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+
+ cd ${S}/hanjadic
+ emake || die
+}
+
+src_install () {
+
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ sysconfdir=${D}/etc \
+ install || die
+
+ gzip -d -c ${DISTDIR}/hanja.dic.gz > ${D}/usr/share/ami/hanja.dic
+
+ dobin ${S}/hanjadic/hanja-hwp2ami
+ dodoc AUTHORS COPYING* ChangeLog INSTALL README README.en NEWS THANKS
+}