diff options
author | Ben Lutgens <lamer@gentoo.org> | 2001-07-24 04:52:39 +0000 |
---|---|---|
committer | Ben Lutgens <lamer@gentoo.org> | 2001-07-24 04:52:39 +0000 |
commit | d22d3da38d8e73f2ab7f51882e36e3f65666e1e2 (patch) | |
tree | 5a89b4aa977f146efcc96a1dfc661fcd5843e628 /net-ftp/lukemftp | |
parent | booboo (diff) | |
download | gentoo-2-d22d3da38d8e73f2ab7f51882e36e3f65666e1e2.tar.gz gentoo-2-d22d3da38d8e73f2ab7f51882e36e3f65666e1e2.tar.bz2 gentoo-2-d22d3da38d8e73f2ab7f51882e36e3f65666e1e2.zip |
added some stuff to the ebuild for woodchip from #gentoo
Diffstat (limited to 'net-ftp/lukemftp')
-rw-r--r-- | net-ftp/lukemftp/lukemftp-1.5-r1.ebuild | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild index e5716df3e675..c845ac328c57 100644 --- a/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild +++ b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild @@ -13,6 +13,21 @@ DEPEND="virtual/glibc >=sys-libs/ncurses-5.1" +src_unpack() { + + unpack ${A} + cd ${S} + + # Adds a command line option: -s, which produces clean, informative output. + # Shows progess status, ETA, transfer speed, no server responses or login messages. + cp src/main.c src/main.orig + sed -e "s/Aadefgino:pP:r:RtT:u:vV/Aadefgino:pP:r:RstT:u:vV/" \ + -e "s/case 't'/case 's':\n\t\t\tverbose = 0;\n\t\t\tprogress = 1;\n\t\t\tbreak;\n\n\t\t&/" \ + src/main.orig > src/main.c +} + + + src_compile() { try ./configure --host=${CHOST} --prefix=/usr \ --enable-editcomplete --program-prefix=lukemftp |