summaryrefslogtreecommitdiff
path: root/contrib/ebuilds/quicktun-2.1.7.ebuild
blob: f0d6e1039b8e037c79ab4cbbf42dbeb58e2e3bb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DESCRIPTION="QuickTun is probably the simplest VPN tunnel software ever, yet
it's very secure. It relies on the NaCl encryption library by D. J. Bernstein."
HOMEPAGE="http://wiki.ucis.nl/QuickTun"
SRC_URI="http://oss.ucis.nl/quicktun/src/quicktun-2.1.7.tgz"

LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-libs/nacl"
RDEPEND="${DEPEND}"

src_compile() {
	NACL_SHARED=1 ./build.sh
}

src_install() {
	mkdir -p "${D}/usr/sbin/"
	cp out/quicktun.* "${D}/usr/sbin/"
}