/[gentoo-x86]/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild
Gentoo

Contents of /net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 28 22:22:05 2014 UTC (5 years, 7 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
amd64/x86 stable, remove old.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.6a-r2.ebuild,v 1.2 2014/03/01 22:12:53 mgorny Exp $
4
5 EAPI=5
6
7 KDE_LINGUAS="ar br cs da de el en_GB eo es et eu fr ga gl hi hne it ja ka lt
8 ms nb nds nl nn pa pl pt pt_BR ro ru sv tr uk zh_CN zh_TW"
9 inherit kde4-base
10
11 DESCRIPTION="KDE frontend for various VPN clients"
12 HOMEPAGE="http://home.gna.org/kvpnc/"
13 SRC_URI="http://download.gna.org/kvpnc/${P}-kde4.tar.bz2
14 http://download.gna.org/kvpnc/${P/a}-kde4-locale.tar.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="4"
18 KEYWORDS="amd64 x86"
19 IUSE="debug"
20
21 RDEPEND="
22 dev-libs/libgcrypt:0
23 "
24 DEPEND="${RDEPEND}
25 sys-devel/gettext
26 "
27
28 S=${WORKDIR}/${P}-kde4
29
30 PATCHES=(
31 "${FILESDIR}/${P}-scriptsec.patch"
32 "${FILESDIR}/${P}-gcc47.patch"
33 "${FILESDIR}/${P}-ifconfig.patch"
34 )
35
36 src_prepare() {
37 mv -vf "${WORKDIR}"/${P/a}-kde4-locale/po . || die
38
39 echo "find_package ( Msgfmt REQUIRED )" >> CMakeLists.txt || die
40 echo "find_package ( Gettext REQUIRED )" >> CMakeLists.txt || die
41 echo "add_subdirectory ( po )" >> CMakeLists.txt || die
42
43 sed -i \
44 -e "s:0.9.2-svn:${PV}:" \
45 CMakeLists.txt || die
46
47 kde4-base_src_prepare
48 }
49
50 src_configure() {
51 mycmakeargs=( "-DWITH_libgcrypt=ON" )
52 kde4-base_src_configure
53 }

  ViewVC Help
Powered by ViewVC 1.1.20