diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-03-09 19:30:55 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-03-09 19:30:55 +0000 |
commit | 579e9e3492be3e742bcce6f70f845cad3bef190e (patch) | |
tree | 945355c232808c7033c9e1c0179716bd9b024407 /net-misc/kvpnc | |
parent | clean up the CVS stuff in src_prepare (diff) | |
download | gentoo-2-579e9e3492be3e742bcce6f70f845cad3bef190e.tar.gz gentoo-2-579e9e3492be3e742bcce6f70f845cad3bef190e.tar.bz2 gentoo-2-579e9e3492be3e742bcce6f70f845cad3bef190e.zip |
Version bump. Per bug #256463.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/kvpnc')
-rw-r--r-- | net-misc/kvpnc/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/kvpnc/kvpnc-0.9.1.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/net-misc/kvpnc/ChangeLog b/net-misc/kvpnc/ChangeLog index ad088cdded10..61d4f5edb5ee 100644 --- a/net-misc/kvpnc/ChangeLog +++ b/net-misc/kvpnc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/kvpnc # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.34 2009/02/05 19:35:34 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/ChangeLog,v 1.35 2009/03/09 19:30:55 scarabeus Exp $ + +*kvpnc-0.9.1 (09 Mar 2009) + + 09 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org> +kvpnc-0.9.1.ebuild: + Version bump. Per bug #256463. 05 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> kvpnc-0.9.0.ebuild: Switch to eapi1 and make cisco useflag enabled by default. Per bug diff --git a/net-misc/kvpnc/kvpnc-0.9.1.ebuild b/net-misc/kvpnc/kvpnc-0.9.1.ebuild new file mode 100644 index 000000000000..438414f3064d --- /dev/null +++ b/net-misc/kvpnc/kvpnc-0.9.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kvpnc/kvpnc-0.9.1.ebuild,v 1.1 2009/03/09 19:30:55 scarabeus Exp $ + +EAPI=2 + +KDE_LINGUAS="bg ca da de es fr hu it ja nl pl pt_BR ru sk sv tr zh_CN" +inherit kde4-base + +DESCRIPTION="kvpnc - a KDE-VPN connection utility" +HOMEPAGE="http://home.gna.org/kvpnc/" +SRC_URI="http://download.gna.org/kvpnc/${P}-kde4.tar.bz2 + http://download.gna.org/kvpnc/${P}-kde4-locale.tar.bz2" + +LICENSE="GPL-2" +SLOT="1" # kde4 +KEYWORDS="~amd64 ~x86" +IUSE="+crypt" + +DEPEND="!net-misc/kvpnc:0 + sys-devel/gettext + crypt? ( dev-libs/libgcrypt )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}-kde4" + +src_unpack() { + unpack ${A} + mv "${P}-kde4-locale/po" "${S}/" + # doing this per line for better readability + echo "find_package ( Msgfmt REQUIRED )" >> "${S}"/CMakeLists.txt + echo "find_package ( Gettext REQUIRED )" >> "${S}"/CMakeLists.txt + echo "add_subdirectory ( po )" >> "${S}"/CMakeLists.txt +} + +src_prepare() { + kde4-base_src_prepare + # fix package version; how they can release such mess + sed -i \ + -e "s:0.9.0-svn:0.9.1:g" \ + CMakeLists.txt || die "failed to fix PV" +} + +src_configure() { + mycmakeargs="$(cmake-utils_use_with crypt libgcrypt)" + kde4-base_src_configure +} |