43 lines
909 B
Bash
43 lines
909 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="GUI FTP client for X Window System (former WXftp)"
|
|
HOMEPAGE="http://freecode.com/projects/axyftp/ http://www.wxftp.seul.org"
|
|
SRC_URI="http://www.wxftp.seul.org/download/${P}.tar.gz"
|
|
|
|
LICENSE="Artistic LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=x11-libs/motif-2.3:0
|
|
x11-libs/libXt
|
|
x11-libs/libX11
|
|
x11-libs/libXpm
|
|
x11-libs/libXaw"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-built-in-function-exit.patch
|
|
}
|
|
|
|
src_configure(){
|
|
econf --with-help=/usr/share/doc/${PF}/html \
|
|
--with-gui=motif
|
|
}
|
|
|
|
src_compile() {
|
|
emake -j1
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
dodoc CHANGES README TODO
|
|
newicon icons/${PN}-ball64.xpm ${PN}.xpm
|
|
make_desktop_entry ${PN} "AxY FTP" ${PN} "Network;FileTransfer;Motif"
|
|
}
|