summaryrefslogtreecommitdiff
blob: 1c53a35a277631c98bf44ce5076855fd45308b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools eutils

DESCRIPTION=""
HOMEPAGE=""
SRC_URI="mirror://sourceforge/gvpn-dialer/${P}.tar.gz"

LICENSE=""
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND="net-misc/cisco-vpnclient-3des
	dev-libs/libpcre
	>=gnome-base/libgnomeui-2.0"

src_unpack() {
	unpack ${A}
	cd ${S}
	# Update reference to pcre.h
	# and update vpnc paths to be consistent with Gentoo
	epatch ${FILESDIR}/${P}-gentoo.patch
	# tweak the glade a little
	#cp ${FILESDIR}/gvpn_dialer.glade .
	epatch ${FILESDIR}/${P}-glade.patch
	eautoreconf
}

src_install() {
	emake DESTDIR=${D} install
}