/[gentoo-x86]/net-misc/iodine/iodine-0.6.0_rc1-r1.ebuild
Gentoo

Contents of /net-misc/iodine/iodine-0.6.0_rc1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Sep 7 13:00:18 2014 UTC (5 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove masked for removal versions

(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/iodine/iodine-0.6.0_rc1-r1.ebuild,v 1.2 2012/07/11 18:03:38 vostorga Exp $
4
5 inherit linux-info eutils
6
7 MY_P="${P/_/-}"
8
9 DESCRIPTION="IP over DNS tunnel"
10 HOMEPAGE="http://code.kryo.se/iodine/"
11 SRC_URI="http://code.kryo.se/${PN}/${MY_P}.tar.gz"
12
13 CONFIG_CHECK="~TUN"
14
15 LICENSE="ISC GPL-2" #GPL-2 for init script bug #426060
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="test"
19
20 RDEPEND="sys-libs/zlib"
21 DEPEND="${RDEPEND}
22 test? ( dev-libs/check )"
23
24 S="${WORKDIR}/${MY_P}"
25
26 src_unpack(){
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}"/${P}-ifconfig-path.patch
30 epatch "${FILESDIR}"/${P}-TestMessage.patch
31 }
32
33 src_compile() {
34 emake CC="$(tc-getCC)" || die "make failed"
35 }
36
37 src_install() {
38 dobin bin/iodine bin/iodined || die "binaries failed"
39 dodoc README CHANGELOG || die "docs failed"
40 doman man/iodine.8 || die "man failed"
41
42 newinitd "${FILESDIR}"/iodined.init iodined || die "initd failed"
43 newconfd "${FILESDIR}"/iodined.conf iodined || die "confd failed"
44 keepdir /var/empty
45 }

  ViewVC Help
Powered by ViewVC 1.1.20