# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-8.0.211.ebuild,v 1.3 2004/06/24 22:05:53 agriffis Exp $ MY_P=cku209 S=${WORKDIR} DESCRIPTION="C-Kermit is a combined serial and network communication software package offering a consistent, medium-independent, cross-platform approach to connection establishment, terminal sessions, file transfer, character-set translation, numeric and alphanumeric paging, and automation of communication tasks." SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${MY_P}.tar.gz" HOMEPAGE="http://www.kermit-project.org/" SLOT="0" LICENSE="Kermit" IUSE="" KEYWORDS="~x86 ~ppc" DEPEND=">=sys-libs/ncurses-5.2" RDEPEND="${DEPEND} net-dialup/xc" src_unpack() { unpack ${A} cd ${S} sed -i -e "s:-O:${CFLAGS}:" makefile } src_compile() { emake KFLAGS="-DCK_SHADOW" linux || die } src_install() { dodir /usr/bin dodir /usr/share/man/man1 dodir /usr/share/doc/${P} emake \ DESTDIR=${D} \ BINDIR=/usr/bin \ MANDIR=${D}/usr/share/man/man1 \ INFODIR=/usr/share/doc/${P} \ MANEXT=1 \ install || die # make the correct symlink rm -f ${D}/usr/bin/kermit-sshsub dosym /usr/bin/kermit /usr/bin/kermit-sshsub #the ckermit.ini script is calling the wrong kermit binary -- the one # from ${D} dosed /usr/bin/ckermit.ini }