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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Nov 10 18:45:49 2010 UTC (9 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
punt old wrt #340329

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

1 dagger 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-vpnc/networkmanager-vpnc-0.7.2.ebuild,v 1.1 2009/12/02 11:49:37 dagger Exp $
4 dagger 1.1
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