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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 8 03:00:36 2009 UTC (5 years, 9 months ago) by dragonheart
Branch: MAIN
Changes since 1.4: +2 -2 lines
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 # 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.4 2009/01/03 13:25:02 angelos 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://www.derijk.org/pftp/pftpfxp-v0.11.4mew6.tgz"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86"
14 IUSE="ssl"
15
16 DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
17
18 S="${WORKDIR}/pftpfxp-mew"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}"/${PV}-gcc3.4.fix || die "patch failed"
24 epatch "${FILESDIR}"/pftpfxp-v0.11.4mew6-pret.patch || die "patch failed"
25 epatch "${FILESDIR}"/${PV}-correct_config_fix.patch || die "patch failed"
26 epatch "${FILESDIR}"/${PV}-correct_bookmark_path.patch || die "patch failed"
27 sed -i -e "s/^CPP=.*/CPP=$(tc-getCXX)/" \
28 -e "s:^CPPF=.*:CPPF=\"-Wall -D_REENTRANT -I../include ${CFLAGS}\":" \
29 configure
30 }
31
32 src_compile() {
33 #note: not a propper autoconf
34 ./configure || die "configure failed"
35 emake DO=true || die "emake failed"
36 }
37
38 src_install() {
39 dobin pftp || die "dobin failed"
40 dodoc .pftp/config .pftp/keymap README.MEW old/*
41 cd "${WORKDIR}"
42 mv irssi mIRC-mew pftpfxp-autoconnect "${D}"/usr/share/doc/${PF}
43 }
44
45 pkg_postinst() {
46 elog "In order to use pftp-mew you need to create these files:"
47 elog " ~/.pftp/config"
48 elog " ~/.pftp/keymap"
49 elog "Refer to the examples in /usr/share/doc/${PF} for more information."
50 }

  ViewVC Help
Powered by ViewVC 1.1.20