1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="A keepalive daemon for vpnc on Linux systems"
10 HOMEPAGE="http://github.com/dcantrell/vpncwatch"
11 SRC_URI="http://github.com/downloads/dcantrell/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="net-misc/vpnc"
21 epatch "${FILESDIR}/${P}-gcc4.3.patch"
22 epatch "${FILESDIR}/${P}-literal.patch"
23 epatch "${FILESDIR}/${P}-Makefile.patch"
27 emake CC="$(tc-getCC)" || die "compilation failed"
31 dobin ${PN} || die "failed to install ${PN}"
32 dodoc README ChangeLog AUTHORS || die "doc install failed"