/[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.1 - (hide annotations) (download)
Tue May 25 13:15:31 2010 UTC (9 years, 8 months ago) by scarabeus
Branch: MAIN
Version bump. Drop unused patch.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20