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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jul 4 07:03:02 2012 UTC (7 years, 6 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
Error occurred while calculating annotation data.
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.ebuild,v 1.4 2011/02/02 05:27:40 tampakrap Exp $
4
5 EAPI=3
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="+crypt debug"
19
20 RDEPEND="
21 crypt? ( dev-libs/libgcrypt )
22 "
23 DEPEND="${RDEPEND}
24 sys-devel/gettext
25 "
26
27 S=${WORKDIR}/${P}-kde4
28
29 src_prepare() {
30 mv -vf "${WORKDIR}"/${P/a}-kde4-locale/po . || die
31
32 echo "find_package ( Msgfmt REQUIRED )" >> CMakeLists.txt
33 echo "find_package ( Gettext REQUIRED )" >> CMakeLists.txt
34 echo "add_subdirectory ( po )" >> CMakeLists.txt
35
36 sed -i \
37 -e "s:0.9.2-svn:${PV}:" \
38 CMakeLists.txt || die
39
40 kde4-base_src_prepare
41 }
42
43 src_configure() {
44 mycmakeargs=(
45 $(cmake-utils_use_with crypt libgcrypt)
46 )
47
48 kde4-base_src_configure
49 }

  ViewVC Help
Powered by ViewVC 1.1.20