/[gentoo-x86]/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild
Gentoo

Contents of /net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 22 14:22:10 2009 UTC (10 years, 11 months ago) by rbu
Branch: MAIN
Changes since 1.1: +5 -4 lines
  Version bump by Robert Piasek (bugs 266184).
  Hard-code NM minor dependency.
(Portage version: 2.1.6.11/cvs/Linux x86_64)

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/networkmanager-vpnc/networkmanager-vpnc-0.7.0.ebuild,v 1.1 2008/12/04 23:39:04 scarabeus Exp $
4
5 inherit eutils versionator
6
7 # NetworkManager likes itself with capital letters
8 MY_P=${P/networkmanager/NetworkManager}
9 MYPV_MINOR=$(get_version_component_range 1-2)
10
11 DESCRIPTION="NetworkManager VPNC plugin."
12 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
13 SRC_URI="mirror://gnome/sources/NetworkManager-vpnc/0.7/${MY_P}.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~arm ~amd64 ~ppc ~x86"
18 IUSE="gnome"
19
20 RDEPEND="
21 =net-misc/networkmanager-${MYPV_MINOR}*
22 >=net-misc/vpnc-0.5
23 gnome? (
24 >=gnome-base/gconf-2.20
25 >=gnome-base/gnome-keyring-2.20
26 >=gnome-base/libglade-2
27 >=gnome-base/libgnomeui-2.20
28 >=x11-libs/gtk+-2.10
29 )"
30
31 DEPEND="${RDEPEND}
32 dev-util/intltool
33 dev-util/pkgconfig"
34
35 S=${WORKDIR}/${MY_P}
36
37 src_compile() {
38 ECONF="--disable-more-warnings \
39 $(use_with gnome)"
40
41 econf ${ECONF}
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 emake DESTDIR="${D}" install || die "emake install failed"
47
48 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20