removed rdepend=depend
authorMike Frysinger <vapier@gentoo.org>
Wed, 6 Nov 2002 16:06:03 +0000 (16:06 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 Nov 2002 16:06:03 +0000 (16:06 +0000)
app-i18n/kinput2/kinput2-3.1_beta4-r2.ebuild

index cb899166ab250fd284e3f196532fc4f9ca8e8cc1..ead597c88d7ac5ff9f49c24a9981616ca584c3a7 100644 (file)
@@ -1,34 +1,23 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.6 2002/05/07 03:58:19 drobbins Exp
-
-IUSE="canna freewnn"
-
-KEYWORDS="x86"
-
-A="kinput2-v3.1-beta4.tar.gz"
-
-S="${WORKDIR}/kinput2-v3.1-beta4"
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/kinput2/kinput2-3.1_beta4-r2.ebuild,v 1.5 2002/11/06 16:06:03 vapier Exp $
 
+MY_P="kinput2-v3.1-beta4.tar.gz"
 DESCRIPTION="A Japanese input server which supports the XIM protocol"
-
-SRC_URI="ftp://ftp.sra.co.jp/pub/x11/kinput2/${A}"
-
+SRC_URI="ftp://ftp.sra.co.jp/pub/x11/kinput2/${MY_P}.tar.gz"
 HOMEPAGE="http://www.nec.co.jp/canna/"
 
+SLOT="0"
 LICENSE="as-is"
+KEYWORDS="x86"
+IUSE="canna freewnn"
 
 DEPEND="virtual/glibc
-       >=sys-apps/portage-2.0.9
        canna? >=app-i18n/canna-3.5_beta2-r1
        freewnn? >=app-i18n/freewnn-1.1.1_alpha19 : >=app-i18n/canna-3.5_beta2-r1"
-
-RDEPEND=${DEPEND}
-
-SLOT=0
+S="${WORKDIR}/${MY_P}"
 
 src_unpack() {
-
        # unpack the archive
        unpack ${A}
 
@@ -44,23 +33,21 @@ src_unpack() {
        # default to UseCanna if we don't have freewnn in useflags
        cp Kinput2.conf Kinput2.tmp
        use freewnn || sed -e "s:\/\* \#define UseCanna \*\/:\#define UseCanna:" Kinput2.tmp > Kinput2.conf || die
-               
 }
 
 src_compile() {
-
        # create a Makefile from Kinput2.conf
-       xmkmf          || die "xmkmf failed"
+       xmkmf || die "xmkmf failed"
        make Makefiles || die "Makefile creation failed"
 
        # build Kinput2
-       make depend ; make
+       make depend || die "make depend failed"
+       make || die "make failed"
 }
 
-src_install () {
-
+src_install() {
        # install libs, executables, dictionaries
-       make DESTDIR=${D} install     || die "installation failed"
+       make DESTDIR=${D} install || die "installation failed"
 
        # install docs
        dodoc README NEWS