# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r3.ebuild,v 1.1 2006/07/28 15:44:37 dragonheart Exp $ inherit eutils toolchain-funcs DESCRIPTION="The powerful curses-based ftp/fxp client, shit edition" HOMEPAGE="http://www.derijk.org/pftp/" SRC_URI="http://www.derijk.org/pftp/pftp-shit.v.1.8.zip" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="ssl" DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )" S=${WORKDIR}/pftp-shit.v.1.8 src_unpack() { unpack ${A} cd "${S}" } src_compile() { cd "${S}" #fix permissions of configure script chmod +x configure #note: not a propper autoconf ./configure || die "configure failed" emake || die "emake failed" } src_install() { dobin pftp dodoc .pftp/config .pftp/keymap README.MEW old/* } pkg_postinst() { einfo "In order to use pftp-shit you need to create these files:" einfo " ~/.pftp/config" einfo " ~/.pftp/keymap" einfo "Refer to the examples in /usr/share/doc/${PF} for more information." }