diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/vcp/vcp-2.2-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/vcp/vcp-2.2-r1.ebuild')
-rw-r--r-- | app-misc/vcp/vcp-2.2-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-misc/vcp/vcp-2.2-r1.ebuild b/app-misc/vcp/vcp-2.2-r1.ebuild new file mode 100644 index 000000000000..f7d2773df7a4 --- /dev/null +++ b/app-misc/vcp/vcp-2.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +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" +IUSE="" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile" +} + +src_compile() { + filter-lfs-flags + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin vcp || die "dobin failed" + doman vcp.1 || die "doman failed" + insinto /etc + newins vcp.conf.sample vcp.conf || die "newins failed" + dodoc Changelog README INSTALL || die "dodoc failed" +} |