/[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.4 - (hide annotations) (download)
Wed Feb 2 05:27:40 2011 UTC (8 years, 11 months ago) by tampakrap
Branch: MAIN
Changes since 1.3: +8 -5 lines
EAPI3

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

1 tampakrap 1.4 # Copyright 1999-2011 Gentoo Foundation
2 scarabeus 1.1 # Distributed under the terms of the GNU General Public License v2
3 tampakrap 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.6a.ebuild,v 1.3 2010/07/12 17:57:43 fauli Exp $
4 scarabeus 1.1
5 tampakrap 1.4 EAPI=3
6 scarabeus 1.1 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 fauli 1.3 KEYWORDS="amd64 x86"
18 scarabeus 1.1 IUSE="+crypt debug"
19    
20 tampakrap 1.4 RDEPEND="
21     crypt? ( dev-libs/libgcrypt )
22     "
23 scarabeus 1.1 DEPEND="${RDEPEND}
24 tampakrap 1.4 sys-devel/gettext
25     "
26 scarabeus 1.1
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