summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-08 23:08:50 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-08 23:08:50 +0100
commit0b4a7192210595ac535424740926f7a4eea2100b (patch)
treee4614c36fdb563500e094b3c9bf0125b7f7fcdfa /app-misc/vcp
parentapp-misc/when: clean up old. (diff)
downloadgentoo-0b4a7192210595ac535424740926f7a4eea2100b.tar.gz
gentoo-0b4a7192210595ac535424740926f7a4eea2100b.tar.bz2
gentoo-0b4a7192210595ac535424740926f7a4eea2100b.zip
app-misc/vcp: EAPI 6 bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/vcp')
-rw-r--r--app-misc/vcp/vcp-2.2-r2.ebuild38
1 files changed, 38 insertions, 0 deletions
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
+}