From 0b4a7192210595ac535424740926f7a4eea2100b Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sun, 8 Jan 2017 23:08:50 +0100 Subject: app-misc/vcp: EAPI 6 bump. Package-Manager: portage-2.3.0 --- app-misc/vcp/vcp-2.2-r2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-misc/vcp/vcp-2.2-r2.ebuild (limited to 'app-misc/vcp/vcp-2.2-r2.ebuild') diff --git a/app-misc/vcp/vcp-2.2-r2.ebuild b/app-misc/vcp/vcp-2.2-r2.ebuild new file mode 100644 index 000000000000..506ddf1b2785 --- /dev/null +++ b/app-misc/vcp/vcp-2.2-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Copy files/directories in a curses interface" +HOMEPAGE="http://members.iinet.net.au/~lynx/vcp/" +SRC_URI="http://members.iinet.net.au/~lynx/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +DOCS=( Changelog README INSTALL ) + +src_prepare() { + default + sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile" +} + +src_compile() { + filter-lfs-flags + emake CC="$(tc-getCC)" +} + +src_install() { + dobin "${PN}" + doman "${PN}.1" + insinto /etc + newins "${PN}.conf.sample" "${PN}.conf" + einstalldocs +} -- cgit v1.2.3-65-gdbad