/[gentoo-x86]/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild
Gentoo

Contents of /net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Jul 26 13:46:03 2005 UTC (9 years, 4 months ago) by dholm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Added to ~ppc
(Portage version: 2.0.51.22-r2)

1 dragonheart 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 dholm 1.2 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild,v 1.1 2005/02/01 07:49:25 dragonheart Exp $
4 dragonheart 1.1
5     inherit eutils toolchain-funcs
6    
7     DESCRIPTION="The powerful curses-based ftp/fxp client, mew edition"
8     HOMEPAGE="http://pftpmew.tanesha.net"
9     SRC_URI="http://tanesha.net/bigmess/pftpfxp-v0.11.4mew6.tgz"
10     LICENSE="as-is"
11     SLOT="0"
12 dholm 1.2 KEYWORDS="~ppc ~x86"
13 dragonheart 1.1 IUSE="crypt"
14     DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
15     S=${WORKDIR}/pftpfxp-mew
16    
17     src_unpack() {
18     unpack ${A}
19     cd ${S}
20     epatch ${FILESDIR}/${PV}-gcc3.4.fix || die "patch failed"
21     epatch ${FILESDIR}/pftpfxp-v0.11.4mew6-pret.patch || die "patch failed"
22     sed -i -e "s/^CPP=.*/CPP=$(tc-getCXX)/" \
23     -e "s:^CPPF=.*:CPPF=\"-Wall -D_REENTRANT -I../include ${CFLAGS}\":" \
24     configure
25     }
26    
27     src_compile() {
28     cd ${S}
29     #note: not a propper autoconf
30     ./configure || die "configure failed"
31     emake || die "emake failed"
32     }
33    
34     src_install() {
35     dobin pftp
36     dodoc .pftp/config .pftp/keymap README.MEW old/*
37     cd ${WORKDIR}
38     mv irssi mIRC-mew pftpfxp-autoconnect ${D}/usr/share/doc/${PF}
39     }
40    
41     pkg_postinst() {
42     einfo "In order to use pftp-mew you need to create these files:"
43     einfo " ~/.pftp/config"
44     einfo " ~/.pftp/keymap"
45     einfo "Refer to the examples in /usr/share/doc/${PF} for more information."
46     }

  ViewVC Help
Powered by ViewVC 1.1.20