changeset 1067:35abad495280 draft

new file: contrib/ebuilds/quicktun-2.1.7.ebuild
author Anonymous Coward <nobody@nowhere>
date Sat, 01 Dec 2012 21:44:07 +0000
parents fa75dab42818
children 9b65eafaf2d8
files contrib/ebuilds/quicktun-2.1.7.ebuild
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/ebuilds/quicktun-2.1.7.ebuild	Sat Dec 01 21:44:07 2012 +0000
@@ -0,0 +1,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-lang/nacl-toolchain-newlib"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+	NACL_SHARED=1 ./build.sh
+}
+
+src_install() {
+	mkdir -p "${D}/usr/sbin/"
+	cp out/quicktun.* "${D}/usr/sbin/"
+}