commit:     0b4a7192210595ac535424740926f7a4eea2100b
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 22:08:50 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 22:08:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4a7192

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(+)

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 00000000..506ddf1
--- /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
+}

Reply via email to