diff options
Diffstat (limited to 'x11-misc/ami/ami-1.2.2.ebuild')
-rw-r--r-- | x11-misc/ami/ami-1.2.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-misc/ami/ami-1.2.2.ebuild b/x11-misc/ami/ami-1.2.2.ebuild new file mode 100644 index 000000000000..2617a492da47 --- /dev/null +++ b/x11-misc/ami/ami-1.2.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/ami/ami-1.2.2.ebuild,v 1.1 2003/03/22 17:29:12 jayskwak Exp $ + +IUSE="gtk2" +S=${WORKDIR}/${P} +DESCRIPTION="Korean IMS Ami" +SRC_URI="http://download.kldp.net/ami/${P}.tar.gz + http://ami.kldp.net/hanja.dic.gz + gtk2? (http://www.gentoo.or.kr/~jayskwak/patch/${P}-imhangul_status.patch)" +HOMEPAGE="http://ami.kldp.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc" + +DEPEND=">=media-libs/gdk-pixbuf-0.7.0" + +src_unpack() { + unpack ${P}.tar.gz + if [ -n "`use gtk2`" ] + then patch -p0 < ${DISTDIR}/${P}-imhangul_status.patch + fi +} + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man || die "./configure failed" + + emake || die + +} + +src_install() { + einstall || die + + gzip -d -c ${DISTDIR}/hanja.dic.gz > ${D}/usr/share/ami/hanja.dic + dodoc AUTHORS COPYING* ChangeLog INSTALL README README.en NEWS THANKS +} |