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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Apr 22 14:22:09 2009 UTC (10 years, 10 months ago) by rbu
Branch: MAIN
Changes since 1.1: +5 -4 lines
  Version bump by Robert Piasek (bugs 266184 and 266606).
  Hard-code NM minor dependency, and fix description in 0.1 ebuild (bug 202203).
(Portage version: 2.1.6.11/cvs/Linux x86_64)

1 rbu 1.2 # Copyright 1999-2009 Gentoo Foundation
2 scarabeus 1.1 # Distributed under the terms of the GNU General Public License v2
3 rbu 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-pptp/networkmanager-pptp-0.7.0.ebuild,v 1.1 2008/12/04 23:38:54 scarabeus Exp $
4 scarabeus 1.1
5 rbu 1.2 inherit eutils versionator
6 scarabeus 1.1
7     # NetworkManager likes itself with capital letters
8     MY_P=${P/networkmanager/NetworkManager}
9 rbu 1.2 MYPV_MINOR=$(get_version_component_range 1-2)
10 scarabeus 1.1
11     DESCRIPTION="NetworkManager PPTP plugin."
12     HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
13     SRC_URI="mirror://gnome/sources/NetworkManager-pptp/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 rbu 1.2 =net-misc/networkmanager-${MYPV_MINOR}*
22 scarabeus 1.1 gnome? (
23     >=gnome-base/gconf-2.20
24     >=gnome-base/gnome-keyring-2.20
25     >=gnome-base/libglade-2
26     >=gnome-base/libgnomeui-2.20
27     >=x11-libs/gtk+-2.10
28     )"
29    
30     DEPEND="${RDEPEND}
31     dev-util/intltool
32     dev-util/pkgconfig"
33    
34     S=${WORKDIR}/${MY_P}
35    
36     src_compile() {
37     ECONF="--disable-more-warnings \
38     $(use_with gnome)"
39    
40     econf ${ECONF}
41     emake || die "emake failed"
42     }
43    
44     src_install() {
45     emake DESTDIR="${D}" install || die "emake install failed"
46    
47     dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
48     }

  ViewVC Help
Powered by ViewVC 1.1.20