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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20