/[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.1 - (hide annotations) (download)
Sun Mar 8 03:00:36 2009 UTC (5 years, 9 months ago) by dragonheart
Branch: MAIN
version bump as per bug #219561 and bug #150846. Thanks Pete for basic ebuild. Fixed stripping as per bug #255908
(Portage version: 2.2_rc23/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     # $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 $
4    
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     src_configure() {
20     #fix permissions of configure script
21     chmod +x configure
22     # no stripping
23     sed -i -e 's/[^D]*DO.*//g' configure
24     sed -i -e 's/CPP/CXX/g' src/Makefile.in
25     #note: not a propper autoconf
26     ./configure || die "configure failed"
27     sed -i -e 's:$<:$(CPPFLAGS) $<:' -e 's/LINKFLAGS/LDFLAGS/g' src/Makefile
28     }
29    
30     src_compile() {
31     tc-export CXX
32     emake || die
33     }
34    
35     src_install() {
36     dobin pftp
37     dodoc .pftp/config .pftp/keymap README.MEW old/*
38     }
39    
40     pkg_postinst() {
41     einfo "In order to use pftp-shit you need to create these files:"
42     einfo " ~/.pftp/config"
43     einfo " ~/.pftp/keymap"
44     einfo "Refer to the examples in /usr/share/doc/${PF} for more information."
45     }

  ViewVC Help
Powered by ViewVC 1.1.20