/[gentoo-x86]/app-misc/vcp/vcp-2.2-r1.ebuild
Gentoo

Contents of /app-misc/vcp/vcp-2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 11 22:15:23 2011 UTC (3 years, 7 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
x86 stable, bug #350706

(Portage version: 2.1.9.30/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/vcp/vcp-2.2-r1.ebuild,v 1.4 2011/01/07 23:29:34 ranger Exp $
4
5 EAPI="2"
6
7 inherit flag-o-matic toolchain-funcs
8
9 DESCRIPTION="copy files/directories in a curses interface"
10 HOMEPAGE="http://members.iinet.net.au/~lynx/vcp/"
11 SRC_URI="http://members.iinet.net.au/~lynx/${PN}/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ~sparc x86"
16 IUSE=""
17
18 DEPEND="sys-libs/ncurses"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
23 }
24
25 src_compile() {
26 filter-lfs-flags
27 emake CC="$(tc-getCC)" || die "emake failed"
28 }
29
30 src_install() {
31 dobin vcp || die "dobin failed"
32 doman vcp.1 || die "doman failed"
33 insinto /etc
34 newins vcp.conf.sample vcp.conf || die "newins failed"
35 dodoc Changelog README INSTALL || die "dodoc failed"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20