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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Mar 26 19:43:42 2008 UTC (6 years, 3 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6.ebuild,v 1.4 2007/05/06 11:00:51 genone Exp $
4
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 KEYWORDS="x86"
13 IUSE="ssl"
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
21 sed -i -e "s/^CPP=.*/CPP=$(tc-getCXX)/" \
22 -e "s:^CPPF=.*:CPPF=\"-Wall -D_REENTRANT -I../include ${CFLAGS}\":" \
23 configure
24 }
25
26 src_compile() {
27 cd ${S}
28 #note: not a propper autoconf
29 ./configure || die "configure failed"
30 emake || die "emake failed"
31 }
32
33 src_install() {
34 dobin pftp
35 dodoc .pftp/config .pftp/keymap README.MEW old/*
36 cd ${WORKDIR}
37 mv irssi mIRC-mew pftpfxp-autoconnect ${D}/usr/share/doc/${PF}
38 }
39
40 pkg_postinst() {
41 elog "In order to use pftp-mew you need to create these files:"
42 elog " ~/.pftp/config"
43 elog " ~/.pftp/keymap"
44 elog "Refer to the examples in /usr/share/doc/${PF} for more information."
45 }

  ViewVC Help
Powered by ViewVC 1.1.20