/[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.4 - (hide annotations) (download)
Sat Jan 3 13:25:02 2009 UTC (5 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.3: +8 -6 lines
QA: Prevent stripping (bug 240772)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)

1 angelos 1.4 # Copyright 1999-2009 Gentoo Foundation
2 dragonheart 1.1 # Distributed under the terms of the GNU General Public License v2
3 angelos 1.4 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r3.ebuild,v 1.3 2007/05/06 11:00:51 genone Exp $
4 dragonheart 1.1
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 angelos 1.4
11 dragonheart 1.1 LICENSE="as-is"
12     SLOT="0"
13 armin76 1.2 KEYWORDS="~amd64 ~ppc x86"
14 dragonheart 1.1 IUSE="ssl"
15 angelos 1.4
16 dragonheart 1.1 DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
17 angelos 1.4
18     S="${WORKDIR}/pftpfxp-mew"
19 dragonheart 1.1
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 angelos 1.4 emake DO=true || die "emake failed"
36 dragonheart 1.1 }
37    
38     src_install() {
39 angelos 1.4 dobin pftp || die "dobin failed"
40 dragonheart 1.1 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 genone 1.3 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 dragonheart 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20