summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2013-11-23 17:22:20 +0000
committerJohannes Huber <johu@gentoo.org>2013-11-23 17:22:20 +0000
commitd270eb3cd813633c3e6dc518a0f24295e8389d16 (patch)
treed2b85788dc578585e3a387f3bbc73ddf5c0a660e /net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild
parentStable for amd64 wrt bug #487284 (diff)
downloadgentoo-2-d270eb3cd813633c3e6dc518a0f24295e8389d16.tar.gz
gentoo-2-d270eb3cd813633c3e6dc518a0f24295e8389d16.tar.bz2
gentoo-2-d270eb3cd813633c3e6dc518a0f24295e8389d16.zip
Revision bump adds patch by Chris Reffett <creffett@gentoo.org>. Patch fixes used path for ifconfig + route, bug #445852.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
Diffstat (limited to 'net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild')
-rw-r--r--net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild b/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild
new file mode 100644
index 000000000000..59f1867304ae
--- /dev/null
+++ b/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild,v 1.1 2013/11/23 17:22:19 johu Exp $
+
+EAPI=5
+
+KDE_LINGUAS="ar br cs da de el en_GB eo es et eu fr ga gl hi hne it ja ka lt
+ms nb nds nl nn pa pl pt pt_BR ro ru sv tr uk zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for various VPN clients"
+HOMEPAGE="http://home.gna.org/kvpnc/"
+SRC_URI="http://download.gna.org/kvpnc/${P}-kde4.tar.bz2
+ http://download.gna.org/kvpnc/${P/a}-kde4-locale.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-libs/libgcrypt
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+S=${WORKDIR}/${P}-kde4
+
+PATCHES=(
+ "${FILESDIR}/${P}-scriptsec.patch"
+ "${FILESDIR}/${P}-gcc47.patch"
+ "${FILESDIR}/${P}-ifconfig.patch"
+)
+
+src_prepare() {
+ mv -vf "${WORKDIR}"/${P/a}-kde4-locale/po . || die
+
+ echo "find_package ( Msgfmt REQUIRED )" >> CMakeLists.txt || die
+ echo "find_package ( Gettext REQUIRED )" >> CMakeLists.txt || die
+ echo "add_subdirectory ( po )" >> CMakeLists.txt || die
+
+ sed -i \
+ -e "s:0.9.2-svn:${PV}:" \
+ CMakeLists.txt || die
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=( "-DWITH_libgcrypt=ON" )
+ kde4-base_src_configure
+}