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

Contents of /net-misc/kvpnc/kvpnc-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 8 20:59:36 2009 UTC (10 years, 2 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old. Version bump. Fix slotting.
(Portage version: 2.2_rc44/cvs/Linux i686)

1 # Copyright 1999-2009 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.1.ebuild,v 1.1 2009/03/09 19:30:55 scarabeus Exp $
4
5 EAPI=2
6
7 KDE_LINGUAS="bg ca da de es fr hu it ja nl pl pt_BR ru sk sv tr zh_CN"
8 inherit kde4-base
9
10 DESCRIPTION="kvpnc - a KDE-VPN connection utility"
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}-kde4-locale.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="1" # kde4
17 KEYWORDS="~amd64 ~x86"
18 IUSE="+crypt"
19
20 DEPEND="!net-misc/kvpnc:0
21 sys-devel/gettext
22 crypt? ( dev-libs/libgcrypt )"
23 RDEPEND="${DEPEND}"
24
25 S="${WORKDIR}/${P}-kde4"
26
27 src_unpack() {
28 unpack ${A}
29 mv "${P}-kde4-locale/po" "${S}/"
30 # doing this per line for better readability
31 echo "find_package ( Msgfmt REQUIRED )" >> "${S}"/CMakeLists.txt
32 echo "find_package ( Gettext REQUIRED )" >> "${S}"/CMakeLists.txt
33 echo "add_subdirectory ( po )" >> "${S}"/CMakeLists.txt
34 }
35
36 src_prepare() {
37 kde4-base_src_prepare
38 # fix package version; how they can release such mess
39 sed -i \
40 -e "s:0.9.0-svn:0.9.1:g" \
41 CMakeLists.txt || die "failed to fix PV"
42 }
43
44 src_configure() {
45 mycmakeargs="$(cmake-utils_use_with crypt libgcrypt)"
46 kde4-base_src_configure
47 }

  ViewVC Help
Powered by ViewVC 1.1.20