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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 16 16:48:38 2012 UTC (2 years, 6 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix bug #408231. Set RDEPEND. Move preparation stuff to src_prepare(). Respect LDFLAGS. Remove old patches. Do not automagically compile against dev-libs/openssl.

(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20