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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Apr 3 15:17:32 2009 UTC (5 years, 5 months ago) by patrick
Branch: MAIN
Changes since 1.1: +5 -1 lines
Fix gcc 4.3 compile failure. Thanks to Magnus Granberg, fixes #261299
(Portage version: 2.2_rc28/cvs/Linux x86_64)

1 dragonheart 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 patrick 1.2 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-1.11.ebuild,v 1.1 2009/03/08 03:00:36 dragonheart Exp $
4 dragonheart 1.1
5     EAPI=2
6     inherit eutils toolchain-funcs
7    
8     MY_P=pftp-shit.v.${PV}
9     DESCRIPTION="The powerful curses-based ftp/fxp client, shit edition"
10     HOMEPAGE="http://www.derijk.org/pftp/"
11     SRC_URI="http://www.derijk.org/pftp/${MY_P}.zip"
12     LICENSE="as-is"
13     SLOT="0"
14     KEYWORDS="~amd64 ~ppc ~x86"
15     IUSE="ssl"
16     DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
17     S=${WORKDIR}/${MY_P}
18    
19 patrick 1.2 src_prepare() {
20     epatch "$FILESDIR/1.11-gcc43.patch"
21     }
22    
23 dragonheart 1.1 src_configure() {
24     #fix permissions of configure script
25     chmod +x configure
26     # no stripping
27     sed -i -e 's/[^D]*DO.*//g' configure
28     sed -i -e 's/CPP/CXX/g' src/Makefile.in
29     #note: not a propper autoconf
30     ./configure || die "configure failed"
31     sed -i -e 's:$<:$(CPPFLAGS) $<:' -e 's/LINKFLAGS/LDFLAGS/g' src/Makefile
32     }
33    
34     src_compile() {
35     tc-export CXX
36     emake || die
37     }
38    
39     src_install() {
40     dobin pftp
41     dodoc .pftp/config .pftp/keymap README.MEW old/*
42     }
43    
44     pkg_postinst() {
45     einfo "In order to use pftp-shit you need to create these files:"
46     einfo " ~/.pftp/config"
47     einfo " ~/.pftp/keymap"
48     einfo "Refer to the examples in /usr/share/doc/${PF} for more information."
49     }

  ViewVC Help
Powered by ViewVC 1.1.20